RE: [PHP] Re: php mail() scaleability

From: Date: Sun, 25 Apr 2004 21:03:56 +0000
Subject: RE: [PHP] Re: php mail() scaleability
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184590@lists.php.net to get a copy of this message
Take a look at the Mail Queue class from PEAR, it enables you to put mail in the Queue instead of real time delivery. http://pear.php.net/packages.php?catpid=14&catname=Mail Jason -----Original Message----- From: Travis Low [mailto:travis@dawnstar.com] Sent: Sunday, April 25, 2004 2:43 PM To: php-general@lists.php.net Subject: Re: [PHP] Re: php mail() scaleability Manuel Lemos wrote: > 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. Okay, I'll bite. What options? cheers, Travis -- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#184590) next »