note
Dragonfly
Another alternative that might work well for you, if you're simply trying to send mail from your script, is the <a href="http://search.cpan.org/doc/GBARR/MailTools-1.15/Mail/Mailer.pm">Mail::Mailer</a> module, which is quite simple to use and will autodetect your MTA (Message Transfer Agent) automagically.<p>
It's pretty slick and has worked very well for me; some of my scripts periodically poll different services on my OpenBSD boxes and kick out a report to me (using Mail::Mailer) if there is something I should know about.
<p>
Interestingly, if Mail::Mailer can't detect Sendmail, mail, Mail, or mailx on your system, it will use the aforementioned Net::SMTP module to deliver your message. ;-)
62677
62677