> To be safe, wrap the cfmail and the cfquery in a cftransaction so they 
> will be treated as one.
> 
> <cftransaction>
   
> <cfmail>
      
> message
   
> </cfmail>
   
> <cfquery>
      
> SQL
   
> </cfquery>
> </cftransaction>
> 
> That way, just in case you have some problem with the cfmail, you 
> won't falsely set emailsent.
> 
> Cameron 


Thank you!  That's just what I was looking for. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3156
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to