Hello,

On 04/25/2004 04:18 PM, Josh Klobe wrote:
Using  mail($to, $subject, $content, $headers) takes way too long when
attempting to mail to 30k people.  This seems to be a result of a socket
being opened for each send.  Is there a better way to approach this
situation via php?

Under Unix/Linux, PHP itself does not open any sockets to queue messages with the mail function. If you are using Unix/Linux with sendmail there are some options that can be tweaked to make it just queue the message instead of trying to deliver the message immediately.


--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

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



Reply via email to