anapar has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I creating a mail application on windows.I have two modules SMTP.pm and Sendmail.pm. Which module should I use to do same? Can anybody help me out in this context. Thanks in advance?
  • Comment on Which is better Net::SMTP or Sendmail for sending mail on windows?

Replies are listed 'Best First'.
Re: Which is better Net::SMTP or Sendmail for sending mail on windows?
by jettero (Monsignor) on Jul 31, 2008 at 12:46 UTC

    I'm fond of Net::SMTP since it uses SMTP directly and doesn't require anything else (like a sendmail binary). I don't know much about Sendmail (if it exists), but I believe MIME::Lite is the most fashionable way to send mail (especially with attachments). It can be made to use Net::SMTP, so the combination is like magic.

    -Paul