Re: Re: SMTP vs mail()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux