Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Selecting an Email Package?

by space_monk (Chaplain)
on Apr 26, 2013 at 07:05 UTC ( #1030784=perlquestion: print w/ replies, xml ) Need Help??
space_monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, fellow Monks,

The choice of packages for sending email seem to be huge, ranging from simply issuing a command to call sendmail upwards through various Mail::Sendmail, Mail, Mime::Lite and Email::Sender bundles.

Do my fellow Monks have any guidelines as to which package is the "best" for email, or can they give guidelines as to how to decide which email package is the most useful for a given situation?

If by any chance I've missed an earlier posting on this subject, then please point me in the right direction. However this seems to be one of those issues that needs revisiting periodically

If any of my proposed solutions have minor errors, it's because I don't waste my genius on trivial matters. :-P

Comment on Selecting an Email Package?
Re: Selecting an Email Package?
by marto (Bishop) on Apr 26, 2013 at 08:31 UTC

    It depends what you mean by "best", you list no criteria. Despite claims in the documentation I find MIME::Lite to work without fail for my email needs. Super Search will find much discussion on the topic of email modules, which you can then test to see if the meet your requirements.

      Thanks for your reply

      I deliberately did not list any criteria as I was after an answer that defined what questions should be asked in selecting a package to handle Mail sending. I also normally use Mime::Lite, but there are a plethora of packages on CPAN and I was looking to see whether it was "best practice" to use this module or whether better are available.

      If any of my proposed solutions have minor errors, it's because I don't waste my genius on trivial matters. :-P
Re: Selecting an Email Package?
by tobyink (Abbot) on Apr 26, 2013 at 10:19 UTC

    For quick and dirty I-just-need-to-send-a-damn-email tasks, I tend to use the poorly named Mail::Sendmail which really has nothing to do with sendmail.

    For anything bigger I tend to jump straight up to Mail::Box which is an enormous framework that tries to do absolutely everything even vaguely e-mail related, mostly achieving that aim with some panache.

    package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1030784]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-12-20 21:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (98 votes), past polls