Re: mail() usage in for loops

From: Date: Mon, 11 Aug 2003 03:38:07 +0000
Subject: Re: mail() usage in for loops
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-159096@lists.php.net to get a copy of this message
Michael Geier wrote:
See answer above. With Qmail and homegrown software, I have several servers sending upwards of 13K emails per minute. All of these are HTML emails with: Custom headers, Custom unsubscribes. I create my email list and break it into files of 500, then loop through those files. I use the phpmailer class to do the sending via the qmail-inject application (allows injecting directly into the mail server, as opposed to putting into a queue).
Dear Michael, When you say batches of 500 , would that mean you put pauses between each batch ? Or do you prepare each email as a file and then send them out in batches of 500? Whats the time space between each batch? Assuming I was stuck with sendmail, what would you recommend ? Thank you for your time sir. Mohan.

« previous php.general (#159096) next »