in reply to Help with SendMail

Well.....

Aside from the fact that you should take the suggestions others have provided about using a module that makes your life easier, not assuming your open works, scoping variables, using strict/warnings - you really should RTM when it comes to reinventing wheels.

For instance - the man page on sendmail
RFCs governing SMTP (821,822, etc)

The proper syntax for ending a message (or so I believe) is to send a single period on a line all by itself.

Cheers - L~R

Replies are listed 'Best First'.
Re: Re: Help with SendMail
by Jaap (Curate) on Jan 26, 2003 at 23:03 UTC
    The proper syntax for ending a message (or so I believe) is to send a single period on a line all by itself.

    This is not true for MIME messages, only for some (command-line) mail programs.
      This is not true for MIME messages, only for some (command-line) mail programs.

      Which is exactly what the anonymous monk is trying to use - Sendmail from the command line.