开发者

Which Perl module would you recommend for sending and getting e-mail?

I am searching a Perl module to write (SMTP) and read (IMAP) e-mails. Which mo开发者_运维技巧dule out of the bunch would you suggest?


For email sending, Email::Sender is pretty neat.


MIME::Lite is the most widely used and stable module around for sending e-mails. It supports sendmail and SMTP sending methods.

For IMAP, it depends on how low-level your needs are, but Net::IMAP::Client is simple to use and should suit most needs.


For sending emails I've been a long (time || in the tooth) user of MIME::Lite and have many scripts/programs that use it.

However recently I've been using Email::Stuff and would highly recommend looking at it.

For Perl email information in general then the Perl Email Project would be a good resource but its currently under reconstruction.

In lieu of this I recommend you keep an eye on Ricardo Signes blog (rjbs is the core maintainer of the Perl Email Project and pretty much ubiquitous with everything email in Perl!).

Here are a few useful links from rjbs recent advent calendar:

  • MIME, Dreaming of a White Christmas
  • E-mail Made Simple
  • Sending Email Simply

/I3az/


I've used Mail::Sendmail in the past, and it's worked great. Just need Perl and a network connection.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜