Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris


by Anonymous Monk
on Feb 16, 2000 at 14:28 UTC ( #3564=perlquestion: print w/replies, xml ) Need Help??

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?

Replies are listed 'Best First'.
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.
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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://3564]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2020-07-11 12:17 GMT
Find Nodes?
    Voting Booth?

    No recent polls found