If I'm using cfmail with the query attribute, populating the to address
dynamically... how to I catch an individual exception?
Like if one row in the query contains an invalid email address that
throws a cfmail exception.
If i put try/catch around the whole cfmail tag set it'll actually stop
the whole mailing...
I'm assuming there's no way to do what I want to do without axing the
query attribute and doing something like
<cfloop query="foo">
<cftry>
<cfmail from="[EMAIL PROTECTED]" to="#email#" subject="foo">
...
</cfmail>
<cfcatch type="any"></cfcatch>
</cftry>
</cfloop>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237724
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54