Re: Re: speed of mail() on two servers

From: Date: Wed, 27 Aug 2003 14:34:11 +0000
Subject: Re: Re: speed of mail() on two servers
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-160913@lists.php.net to get a copy of this message
Manuel, et al -- ..and then Manuel Lemos said... % % Hello, Hi! % % On 08/26/2003 07:39 PM, David T-G wrote: % >I'm working up a [cli] script to send a personalized (ugh) email to some % >[often large] number of web site subscribers. Unfortunately, I'm getting % >lousy performance, running about 0.54 sec per email. .. % % I think your bottleneck is not in the queuing but rather in the % composition of the personalized messages and the actual delivery. Actually, that can't be. I ran some tests where I did everything but instead of calling mail() I printed the mail() call. It ran nearly 800 messages through in about two and a half seconds :-) % % As for the personalization, you should ask if you really need it. What % do you need it for? No luck there; I already fought as hard as I could. It's a feature that our clients tout to the people for whom they do marketing, so they have to be able to provide it, so we have to write it. % % For the delivery, you can always tune qmail to try deliverying messages % to more recipients at the same time tweaking concurrencyremote option. % The default it 20 recipients at the same time but you can increase it to % 120 without patches. Hmmm... That's worth a look; where do I set that? % % -- % % Regards, % Manuel Lemos Thanks & TIA & HAND :-D -- David T-G * There is too much animal courage in (play) davidtg@justpickone.org * society and not sufficient moral courage. (work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

« previous php.general (#160913) next »