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.


Comment on Re: Mail::Mailer::sendmail woes
Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2014-09-01 23:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls