Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Mail::Mailer::sendmail woes

by markov (Scribe)
on May 01, 2004 at 10:28 UTC ( #349592=note: print w/replies, xml ) Need Help??


in reply to Mail::Mailer::sendmail woes

Mail::Mailer::sendmail is one of the back-ends for Mail::Mailer, and shouldn't be used directory. A good indication for that is the lower-cased 's' in 'sendmail'.

When you look at the Mail::Mailer manual page, you see how to use it. You can also use Mail::Send. The general idea is:

use Mail::Mailer; $mailer = new Mail::Mailer; $mailer = new Mail::Mailer 'sendmail'; $mailer->open(\%headers); print $mailer "This is a very short message"; $mailer->close;
Mail::Send helps you constructing the headers.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://349592]
help
Chatterbox?
and the questions are moot...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2016-12-11 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (169 votes). Check out past polls.