Hi I have a question if someone could help anwser. Is it possible to have a CFIF statement in the actual CFMAIL tag. I am trying (see below) to no avail. is there something I would need to change in my code?
Thanks
<cfmail to="tonamehere" <cfif get_emp.purchasingcenterid eq 'F-I'>from="you"<cfelse>from="me"</cfif> cc = "" bcc = "" query="get_emp" group="catalognum" subject="Your Order Has Been Placed" type="HTML">
Thanks
<cfmail to="tonamehere" <cfif get_emp.purchasingcenterid eq 'F-I'>from="you"<cfelse>from="me"</cfif> cc = "" bcc = "" query="get_emp" group="catalognum" subject="Your Order Has Been Placed" type="HTML">