In the statement below, what I missing? When generate_email=0, I get: Either the end tag </cfmail> encountered on line 44 at column 29 requires a matching start tag or tag cfmail does not support end tag.
<cfif generate_email eq 1><cfmail from="#techadmin#" to="rob...@austin-williams.com" bcc="#techadmin#" Subject="Open House Registration Report" server="#smtpid#"></cfif> <cfoutput>report details go here</cfoutput> <cfif generate_email eq 1></cfmail></cfif> I want to use this setting to either display this report or email the report. I don't understand why the switch is disabling the starting tag but not the closing tag. Thoughts? Thanks Robert Harrison Director of Interactive Services Austin & Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:356929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm