coldfusion - Adding art to cfmail causing javascript warning and no art display in client email -
i sending out receipt clients on purchase using cf script.
<cfmail to="#gtord.contact_email#" from="no-reply@mycompany.net" subject="mtcompany order #gtord.order_lead#-#gtord.order_number#" type="html"> <cfset order_id = #order_id#> <cfset mgd = #mgd#> <cfinclude template="order_receipt.cfm"> <cfmailparam file="#expandpath('/art/mycompany.jpg')#" contentid="shownets" disposition="inline" /> </cfmail>
the email recipient gets warning: "potentially dangerous scripts removed message. allow scripts"
the artwork not show in email body. if "allow scripts"
the artwork included attachment.
Comments
Post a Comment