Hi....
I just sent out only 1000 emails using cfmail......
and I got a timeout error.

Should i put a timout on the query, or on the cfmail tag?
If so, what is a satisfactory amount?
I am expecting to database to grow to several thousand.....



The code is....

<cfquery name="emailsend" datasource="#datasource#" dbtype="ODBC">
SELECT email, name, country
FROM subscribe
WHERE LEN(email) > 0
</cfquery>

<cfif email.recordcount GT 0>
<cfmail query="emailsend" to="#email#" from="[EMAIL PROTECTED]"
subject="#form.subject#">
Hi #name#,

#form.message#

</cfmail>
</cfif>

thanks for your help....

regards
chad


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to