Well, as I see it, Net::SMTP is exactly what the name implies: an easy-to use client for the SMTP protocol. Nothing more, nothing less. It's pretty lowlevel stuff, and if I was writing an application requiring robust mail handling, I'd probably go with a module that can guarantee that a mail will eventually reach its destination and won't choke on bad recipient addresses, just as I wouldn't use Assembler to do regular expression handling. On the other hand, if I was writing my own mail transport module it's possible that I'd base it on Net::SMTP. It's just a question of chosing the right tools for the job.

However, Net::SMTP has a (albeit small) edge on the modules you mentioned: it's included in the base distribution, meaning easier script installation for uneducated admins.

Cheers,
--Moodster


In reply to Re: Net::SMTP shortcomings if used as a general mail sending module by moodster
in thread Net::SMTP shortcomings if used as a general mail sending module by kappa

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.