Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I try to use the code exactly as writen in this site FAQ (how do I send mail), but nothing. Do I need to have a copy of 'sendmail' (program) in my directory. It doesn't mention anywhere that you have to set up 'sendmail'. I'm not experienced in Perl to know what all the bits of the program mean. So can someone help?
Re: Sendmail
by dlc (Acolyte) on Feb 16, 2000 at 22:07 UTC
|
I recommend Mail::Sendmail, which uses SMTP and doesn't actually use sendmail, so it will run on any box Perl runs on. | [reply] |
Re: Sendmail
by chromatic (Archbishop) on Feb 16, 2000 at 21:32 UTC
|
sendmail is a common Unix Mail Transport Agent (MTA). It also runs on Windows and other platforms, but that's not the point.
The FAQ recommends it because it's pretty likely that any Unix workstation will have it running.
If you don't, take a look at a module like Net::SMTP or something like that. Anything on CPAN with SMTP (Simple Mail Transfer Protocol) will
work for you. sendmail configuration is way beyond the scope of Perl programming, and a little tricky in its own right. | [reply] |
|