Re: right use of sendMailsInQueue
| From: | Lorenzo Alberton | Date: | Wed, 21 Feb 2007 11:14:12 +0000 |
| Subject: | Re: right use of sendMailsInQueue | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26623@lists.php.net to get a copy of this message | ||
Leo Márquez wrote:
I have a problem with Mail_Queue at moment of send the queue. I put 4000 mails in the queue (I see in the database) but when I execute: sendMailsInQueue(50); Only a few mails are sent. The 'sent_time' column of the rest of mails still empty. I only execute sendMailsInQueue(50) one time. Is this the correct way to send the queue? I have tried to delay the attempt in the put function, setting 10 seconds later than script execution but in this way no message are sent.it's likely that your mail server can't process the queue in time. Try with a smaller amount of mails sent each time. You should check your mail server throughput (mails/hour) and set the queue size and the cron jobs accordingly. Also, please fetch the CVS version of the package, if you haven't already. -- Lorenzo Alberton http://pear.php.net/user/quipo ___________________________________________________________________ Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più. ADSL, Hardware & Software Online Store