Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Net::SMTP v local MTA

by hossman (Prior)
on Jan 12, 2002 at 02:58 UTC ( [id://138173]=note: print w/replies, xml ) Need Help??


in reply to Net::SMTP v local MTA

The other 2 posters have touched on this, but just to be explicit:

  • There only reason why Net::SMTP would be (more then negligably) slower then using /foo/bin/sendmail directly is if you are connecting to an SMTP host on a remote machine. In which case the lag is either in the network, or on the remote SMTP host.
  • Net::SMTP determines the default SMTP host based on Net::Config, which is set at installation time.
  • You can override the default SMTP host in the constructor for Net::SMTP
  • Assuming you construct your Net::SMTP object using "localhost" as the SMTP host, you probably shouldn't see any noticable performance difference between if and /foo/bin/sendmail

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found