verify your email addresses above the cfmail statement as described.
if not valid email then branch your code to notify somebody that
Record X has a sucky address that needs fixing (I compile a complete
list of all failures and only send the list once its finished).

After that, surround your cfmail statement in a try/catch block, where
the catch block also adds notification to the list you are already
compiling.  By putting cfmail into a try/catch block you allow the
other cfmail statements in your query loop to run despite the failure
of one or more cfmail statements.

You wind up with a much more robust chunk of code.  I never use the
query attribute of cfmail anymore.

-- 
[EMAIL PROTECTED]
Janitor, The Robertson Team
mysecretbase.com

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276699
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to