Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Mail modules on W2K

by gav^ (Curate)
on Feb 07, 2002 at 16:42 UTC ( [id://143915]=note: print w/replies, xml ) Need Help??


in reply to Mail modules on W2K

I've not used Mail::Mailer on NT but Mail::Sendmail works a treat (just make sure you set your smtp server). If you have Activestate's perl you can install it with PPM (just type ppm install Mail::Sendmail at a dos prompt). An example:

use Mail::Sendmail; sendmail(To => $to, From => $from, Message => $msg, Subject => $subject, smtp => 'localhost') || die "Couldn't send email";

gav^

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found