http://www.perlmonks.org?node_id=62928


in reply to SMTP and Authentication

Another alternative that might work well for you, if you're simply trying to send mail from your script, is the Mail::Mailer module, which is quite simple to use and will autodetect your MTA (Message Transfer Agent) automagically.

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.

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. ;-)

Replies are listed 'Best First'.
Re: Re: SMTP and Authentication
by mdog (Pilgrim) on Mar 09, 2001 at 03:10 UTC
    I wish that they were on some flavor of Unix...would make my life much easier. They are on Windows 2000 and I am probably going to have resort to using Blat or trying to add authentication to Net::SMTP. Thanks for the advice, though, will have remember that module.