Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: RFC: Net::SMTP::Pipelining

by tirwhan (Abbot)
on Feb 18, 2009 at 21:22 UTC ( [id://744888]=note: print w/replies, xml ) Need Help??


in reply to Re: RFC: Net::SMTP::Pipelining
in thread RFC: Net::SMTP::Pipelining

(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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://744888]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found