Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Simple SMTP email within script...

by sgifford (Prior)
on Jun 08, 2008 at 03:46 UTC ( #690877=note: print w/replies, xml ) Need Help??

in reply to Simple SMTP email within script...

On Unix the standard way to do this is by running sendmail, mail, or Mail, and if you're on Unix that's what I would do to keep things simple. If you need to run on a non-Unix platform, probably using an existing SMTP module (like Email::Send::SMTP) is your best bet; that will work on any platform.

It's generally not that hard to install other libraries along with your script. A useful tool for bundling your script and all of the modules it uses into one executable is PAR.

Update: Fix typo in module name.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-10-22 20:09 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (297 votes). Check out past polls.