I've got to start implementing better error trapping in my applications. 
Just to be sure I've got my head around this right...

"myEmailLIST" has already been validated TWICE, using two different 
methods, but invariably, there's always one address somewhere that gets 
through validation that will still choke cfmail.

The code below will allow the loop to run from beginning to end, without 
stopping, and build a list of the email addresses that caused the cfmail 
tag to error. Basically, I need to to *not* throw an error, but note an 
exception and then continue processing the remainder of the list 
normally wiithout stopping, correct?


<cfloop query="myEmailLIST">
  <cftry>
       <!--- CFMAIL CODE TO SEND HERE --->
    <cfcatch>
       <!--- CODE TO BUILD EXCEPTION EMAIL LIST HERE --->
    </cfcatch>
  </cftry>
</cfloop>









~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308793
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