Don't use sendmail. Use one of the perl modules designed to communicate with SMTP servers like Mail::Sender or Mail::Sendmail (which, confusingly enough has nothing to do with the sendmail program). The documentation that comes with these modules should be more than enough to get you going.

- Johnathan


Scott, Deborah wrote:

I asked this before, but I probably made the question too long and confusing
to follow.

How do I send an email using perl? The path for the sendmail program is:
h:/blah/blah/SENDMAIL/sendmail.exe

I want it to open the contents of a particular file. Then send the contents
of the file as an email to [EMAIL PROTECTED]


Thanks,
--Deborah






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to