Which is faster/better:

<cfmail query="queryOfEmails"></cfmail>

OR

<cfloop list="listOfEmails" index="i">
<cfmail to="#i#"></cfmail>
</cfloop>


Any difference?

I have a list of receipients.  It was acceptable to the client to have just
one with a large to="" (ie one email to a lot of people), but cf chokes on
all the addresses in there at once.  The code already builds a list(from 3
groups), and I can convert it to a query(querynew) if it offers any
advantage.

Just wondering if the two are the same, similar to how these two are the
same:
<cfoutput query="foo">
</cfoutput>

<cfloop query="foo">
</cfloop>


Thanks.
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to