Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 musing on the Monastery: (3)
As of 2014-09-21 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls