I've tried it going to Postfix and Lotus Notes, and both seem to be OK with not putting in a blank line. Looking at the raw email, it puts the Subject line among the other headers and separates the body from the headers with a blank line. It looks like maybe mailers are smart enough to interpret the first non-header as the start of the body?
A blank line wouldn't hurt, though, and may be necessary for some mailers.
Ralph Mitchell
On Tue, Oct 2, 2012 at 12:09 PM, Andrew Rakowski <landrew at pnnl.gov> wrote:
} On Tue, Oct 2, 2012 at 11:59 AM, Ralph Mitchell <ralphmitchell at gmail.com> wrote: } The sequence appears to be } HELO server.domain.com } MAIL FROM: me at here.com } RCPT TO: you at there.com } DATA } Subject: this is the subject line } first line of message } second line of message } . } QUIT } } } I just tried that, and it delivered. with the Subject line among the headers. Odd, but } it worked... } } Ralph Mitchell [...snip...]
You also need a blank (empty) line after the header lines (in your case, the Subject: line), the remainder of the input then becomes the body of the mail message.
-Andrew
On Tue, 2 Oct 2012, Ray Reuter wrote:
} I have a feeling the machine I ran the telnet from can not deliver the email but as in the } message below it did accept everything i put in the command. } }
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon