Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has
sent all the emails that are dated for today. This script is runs by
cron so it is running in the background.
How would I do this
On Thu, Jul 31, 2008 at 1:27 PM, brian [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has sent
all the emails that are dated for today. This script is runs
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has sent
all the emails that are dated for today.
On Thu, Jul 31, 2008 at 4:24 PM, brian [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 4:24 PM, brian [EMAIL PROTECTED] wrote:
Andrew Ballard wrote:
On Thu, Jul 31, 2008 at 1:27 PM, brian [EMAIL PROTECTED] wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a few
brian wrote:
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a
few seconds and then send another 100 emails and repeat this tell it
has sent all the emails that are dated for today. This script is runs
by cron so it is running in the background.
How
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has
sent all the emails that are dated for today. This script is runs by
cron so it is running in the background.
How would I do this and is it the best
On Tue, Jul 29, 2008 at 4:52 PM, Richard Kurth
[EMAIL PROTECTED] wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has sent
all the emails that are dated for today. This script is runs by cron so it
Andrew Ballard wrote:
On Tue, Jul 29, 2008 at 4:52 PM, Richard Kurth
[EMAIL PROTECTED] wrote:
I want to limit these script two send 100 email and then pause for a few
seconds and then send another 100 emails and repeat this tell it has sent
all the emails that are dated for today. This
Here's a PEAR package that handles this:
http://pear.php.net/package/Mail_Queue/
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Richard Kurth wrote:
I want to limit these script two send 100 email and then pause for a
few seconds and then send another 100
I would use a temporary table to hold all the email created in one job.
Have a status field marked as sent, waiting or open.
Have a cron job set 'x' number of open emails to waiting. Execute
periodically.
Have a cron job to send all waiting email and update status to sent.
Execute
I've done something very similar. I have a delivery timestamp column
in the table that is initially NULL, and I set it to UTC_TIMESTAMP()
for each row as I send the message. My query looks like this then:
SELECT * FROM mail_queue WHERE delivery_timestamp IS NULL LIMIT 100.
Andrew
12 matches
Mail list logo