Re: right use of sendMailsInQueue

From: Date: Wed, 21 Feb 2007 11:56:23 +0000
Subject: Re: right use of sendMailsInQueue
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26624@lists.php.net to get a copy of this message
YES and if you are running your script on host server there might be been stricter rules. Many hosts server in my counrty have rules like 100 messages per day. So check restriction on how many email is allowed in one hour as well as the total in one day. Riku Tuominen ----- Original Message ----- From: "Lorenzo Alberton" <l.alberton@quipo.it> To: "Leo Márquez" <leo@calidae.net> Cc: "PEAR general list" <pear-general@lists.php.net> Sent: Wednesday, February 21, 2007 1:14 PM Subject: Re: [PEAR] right use of sendMailsInQueue 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 -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.441 / Virus Database: 268.18.3/694 - Release Date: 20.2.2007 13:44

« previous php.pear.general (#26624) next »