I'm a bit of a green horn and maybe this is a common mistake or "the way
things are" but I have a cfif statement that is proven false yet it still
tries to parse the cfmail tage that the cfif tage encompasses.
example:
<cfif isdefined("email")>
<cfmail to = "#email#"
from = "#variable_that_does_not_exist#"
subject = "#email_subject#">
#message#
</cfmail>
</cfif>
Now, of course, I have commented out the cfmail tag and put in simple text
just to prove that the if statement is actually false and won't show the
test that is wrapped in it. As soon as I uncomment the cfmail it starts
failing while trying to parse the cfmail tag. Of course, one of the
variables does not exist (hence the isdefined) so the cfmail fails.
Any suggestions would be welcome.
-Jason
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