Ted Zeng wrote:

When  I used perl on Windows, I used Mail:sender module to send emails,
with attachments.

Now I realized that Mac OS X doesn't have this installed (I installed it on Windows myself)
and it has sendmail as a UNIX tool, which can be an option.


Do you use sendmail to send emails in your perl tools?
Or use a Perl email module to send emails? Which way you prefer?

I use MIME::Lite. I let it use its default settings for sending, which is to use the local sendmail. This does, of course, require that you have set up sendmail correctly, which is a gigantic pain in the backside. You might like to use exim or postfix instead.


--
David Cantrell | Official London Perl Mongers Bad Influence

  With ... the fact that Linux has become so easy to install that
  certain species of bacteria are now being hired by MIS departments,
  what was once the domain of rigorously trained, highly specialized
  professionals has devolved into the Dark Land of the Monkeys.
     -- Greg Knauss

Reply via email to