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]

