Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Net::SMTP v local MTA

by lhoward (Vicar)
on Jan 12, 2002 at 02:31 UTC ( [id://138158]=note: print w/replies, xml ) Need Help??


in reply to Net::SMTP v local MTA

I've done a good bit of benchmarking of Net::SMTP vs other methods for sending mail, and have found that Net::SMTP (or another SMTP transporter) is almost always the winner. But you can do some things in SMTP that would hurt performance. A few things that could be effecting you:
  • SMTP connections - it is best when using SMTP to establish one connection to the mailer and then pipe multiple messages across this connection. This may not be an option if you are sending only a single message with your CGI.
  • reverse DNS - if your mail server is doing reverse-DNS lookups on each connection that could also slow down your aparent throughput when using Net::SMTP

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found