> 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 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

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