Hello,

On 06/13/2003 10:19 AM, Marko wrote:
Sending multiple emails using PHP - as BCC or multiple mail() commands -
takes quite long; usually over 50 seconds for 10 addresses.
While sending these messages the browser won't show anything else but a
blank page, which is not a very exciting internetexperience for people using
my mailing-application.

I've been using exactly the same code on some other boxes without any
extreme delays.

The box is running Sendmail 8.12.9, PHP 4.3.1 on FreeBSD 4.8.

You would better switch to qmail or something similar.


With sendmail you need to pass additional switches to just queue the message for delivery instead of trying to send it immediately, which is what it stalling your scripts.

You may want to take a look at this class that comes with a sub-class specialized in delivering with sendmail. That sub class provides options that map to sendmail switches to change the delivery mode to just queue the messages:

http://www.phpclasses.org/mimemessage


--


Regards,
Manuel Lemos

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


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



Reply via email to