>- see footer for list info -<
The other option is to throttle the mail server which will allow CF and the
db to do their job as efficiently as possible (getting it over and done
with). Change the number of connections and similar settings on the mail
server. Typically it would try to send 100's or 1000's of emails at once.

I'm not sure if it was a coincidence but when I last tried bulk sending, the
rate of which they were sent grinded to a near halt after a couple of
minutes. I'm wondering if it was because recipient mail servers thought it
was a spam or DoS attack and limited how much they would take from my
domain. Anyway, I've throttled our mail servers in the hope it will resolve
the issue.

Gary.

On 10/24/07, Christian Bouet <[EMAIL PROTECTED]> wrote:
>
> >- 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
> -<
>
_______________________________________________

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