>- see footer for list info -<
Hi Damien,

Well, an integer counted up to X, when at X, reset X to 0 and pause the
program:

<cfobject type="JAVA" name="obj" class="java.lang.Thread"
action="CREATE"> 
<cfset obj.sleep(10000)> <!--- 10 second pause --->

Also use this code every run in the loop with a smaller amount than the
batch pause.

Not good at CF really, but I guess that'd do it.

Cheers,
Chrisitan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Damien
Gallagher
Sent: 24 October 2007 14:41
To: Coldfusion Development
Subject: [CF-Dev] Bulk email sending

>- see footer for list info -<
Hi,

I need to create a function to send an email newsletter. The code will
loop over the list so that each mail is sent to just one address.

I also want to send the emails out in batches, with a short pause
between each mail sent, and a longer pause between each batch.

What would be the best way to do this in CF?

Thanks, D
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help

>-<
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to