in reply to ESMTP, linefeed and <CRLF>

This might seem a bit of a work-around, but can't you send it through a pipe on the localhost? The local mta interface ofcourse won't have any problems with converting this (seems qmail, so the fake sendmail binary or qmail-inject).

Something like (uh... I leave the conversion to perl as exercise ;) ):

#!/bin/sh ( echo "From: you@example.com" echo "To: smb@example.net" echo -e "Subject: info\n" cat <<__EOF__ hmmz __EOF__ ) | /usr/sbin/sendmail smb@example.net

Good luck,

   wouter

Replies are listed 'Best First'.
Re: Re: ESMTP, linefeed and <CRLF>
by com_arkan (Initiate) on Jul 26, 2002 at 07:27 UTC
    This is a thing that i haven't think. It's a nice way to send mail but i prefer the Net::SMTP way "grep" monk said.

    Thank's wouter