Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFMAIL

Status
Not open for further replies.

alsjka

Technical User
Jan 21, 2003
114
US
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">
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top