Question
CFMAIL and adding CC if needed
I am currently looping over a list of email addresses and
sending out the
mail to all users. I'd like to instead check to see if a variable is set,
and add the cc="" in the cfmail tag instead.
When I try this it fails, I simply did a <cfif MailCC neq
"">cc="name@site.com"</cfif> in the cfmail tag, but it doesn't seem to like
this.
Has anyone done anything similar?
Or how can I get this to work?
Thanks!
mail to all users. I'd like to instead check to see if a variable is set,
and add the cc="" in the cfmail tag instead.
When I try this it fails, I simply did a <cfif MailCC neq
"">cc="name@site.com"</cfif> in the cfmail tag, but it doesn't seem to like
this.
Has anyone done anything similar?
Or how can I get this to work?
Thanks!
