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.
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
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 sen
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 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 scrip
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
>> 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.
>>
>> And
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 periodically
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 10
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 scri
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
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 way
12 matches
Mail list logo