(Or are writing a mail server.)

Well, that's enough reason for it to exist :-). I actually agree with you in general, if you don't want to be involved in the particulars of message delivery you should just use a nearby MTA, they are optimised for this sort of thing and will reliably queue and deliver the mail for you. The reason I initially wrote this was that I needed to deliver a hefty load of mail using a mail server on the other side of the world and as few MTA hops as possible. Sending the mail directly from the mail-generating program to the remote server was too slow, unless I used pipelining. I was surprised that no-one had implemented a well-known and much-used SMTP extension in Perl before and decided to do it myself. And it appears that I actually follow a part of the RFC better than most of the MTAs I examined, so there :-)

So I agree, the majority of email senders will not need to use this. OTOH, it does have it's valid uses and it is more efficient than sending mail the regular way (negligibly so on a fast connection, but still). So I'm sure there are less useful modules up on CPAN.

Thanks for your input though, I'll come up with something to put into the perldoc advising users to consider whether they really want to use this module or use a local mail server instead.


All dogma is stupid.

In reply to Re^2: RFC: Net::SMTP::Pipelining by tirwhan
in thread RFC: Net::SMTP::Pipelining by tirwhan

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.