Re: Re: SMTP vs mail()

From: Date: Sat, 12 Jan 2008 09:28:07 +0000
Subject: Re: Re: SMTP vs mail()
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-267138@lists.php.net to get a copy of this message
Manuel Lemos wrote: > Still if you want the fastest delivery in the world, you can skip > queueing and talk directly to the final SMTP server. That is what the > direct_delivery mode of this SMTP class does. I use it for deliverying > really urgent messages. It uses PHP only, there is no sendmail or any > MTA in the middle. That is why it is the fastest solution. Unless you're running on the mail-server or being NAT'ed through the same, this is not advisable. You run a significant risk of getting your emails caught as spam. > TCP connections are not a good idea for local connections. That is why > under Linux/Unix there are Unix domain sockets which are basically > pipes for inter-program communication. TCP connections are just fine for local connections. And on some platforms/setups they're even faster than Unix domain sockets. /Per Jessen, Zürich

« previous php.general (#267138) next »