Answered
Using conditional statements stored inside a variable
I'm trying to store the body of different emails inside of my
database to use in email sent with cfmail. The content of the
emails has conditional statements using cfif and other variables
based on a query running. If I set the content as a variable and
then place that inside of the cfmail tag it does not process the
cold fusion code. Is there a way that I can process this code so
that the final output is what is placed within the cfmail tag or is
it not possible to do what I'm trying to accomplish? Thanks in
advance for any ideas.
