Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 pondering the Monastery: (4)
As of 2015-07-30 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls