Hi Robert, Just adding another option..
<cfmail to="t...@domain.com" from="f...@domain.com" cc="#((FORM.inputType is 'K-12') ? 'c...@domain.com' : '')#" subject="subject">message</cfmail> Thanks!, -Aaron > I'm trying to include a cfif within a cfmail. If a form element is > "K-12", then I want to add a cc to the cfmail part. > Here is what I have in part: > <CFMAIL from="#FORM.email#" > To="t...@test.com" > <cfif #form.intype#="K-12">cc="te...@test2.com"</Cfif> > Subject="New Jersey"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331055 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4