I'm trying to send emails.
Because of spam issues the client's hosting provider has put limits on how
many emails can be sent at one time.
I can send 20 emails/3 minutes.
I'm wondering what the best way to do this is?
<!---
LOOP THROUGH RECORD SET
SET COUNTER
IF COUNTER EQ PRE-SET NUMBER {
PAUSE
}ELSE{
<CFMAIL></CFMAIL>
}
--->
I'm not sure how to create the pause.
ex:
<cfloop from="1" to="#emailList.recordCount#">
<cfset counter=x>
<cfif counter=20*numberLoop>
PAUSE
<cfelse>
<cfmail>
...
</cfmail
</cfif>
<cfset count=x+1>
</cfloop>
Thx, hope this is clear
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: email, pause while looping through list mayo
- Re: email, pause while looping through list Anders Green
- page creation times Anders Green
- Re: page creation times Joe Eugene
- Re: page creation times Thomas Chiverton
- RE: email, pause while looping through list mayo