That's probably why. Do you use conditional statements with thistag. executionmode?
If it is a simple CT enclose the code with <cfif Thistag.executionmode IS "start"> ... </cfif> -----Original Message----- From: Stephen Adams [mailto:[EMAIL PROTECTED]] Sent: maandag 18 februari 2002 17:23 To: CF-Talk Subject: cfmail within a custom tag being run twice Hi everyone, I am having a problem with a custom tag I have written that sends out an email every time an error occurrs. The problem is that I always get two emails sent for one error. I am using a close tag to call the custom tag, other than that I can't see why the tag would be run twice. Does anyone have ideas why this happens ? Stephen ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

