Re: Background process (sending mails)
| From: | Manuel Lemos | Date: | Sun, 25 Aug 2002 03:34:22 +0000 |
| Subject: | Re: Background process (sending mails) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114023@lists.php.net to get a copy of this message | ||
Hello,
On 08/22/2002 06:37 PM, Daren Cotter wrote:
The problem with this, is that messages only queue at a max of 1,000 per minute (depending on hardware). If you're sending 100,000 mailings, the script still runs for over an hour, and does not return immediately.That happens only if you decide to personalize messages and send a separate message to each recipient. If you put all receipients in Bcc: it just takes a few seconds to queue a message to 100,000 recipients using mail()/sendmail. Ah, also don't do the mistake of queuing messages with SMTP. Always use the local mailer (sendmail/qmail/etc..) directly or with mail(). SMTP is indeed slow for queuing. -- Regards, Manuel Lemos