This content has been marked as final. Show 3 replies
Originally posted by: richy2424
Hi i am using the cfmailparam tag to embed an image, this works fine on my local coldfusion server,
<cfmailparam file=" http://www.website.com.au/Images/email.gif" disposition="inline" contentID="image1">
when i upload it to my host i get this error, any ideas why this would be
Attribute validation error for tag CFMAILPARAM.
The tag does not allow the attribute(s) CONTENTID,DISPOSITION. The valid attribute(s) are FILE,NAME,TYPE,VALUE.
You get the error because you are using attributes that are not valid for that tag. My suggestion is to take them out.
ok if i take them out how do i show the image in the table?
<cfmailparam file=" http://www.iluvcricket.com.au/Images/email.gif" disposition="inline" contentID="image1">
<table width="700" border="0" align="center" background="cid:image1">
This suggests that your production server is using an obsolete version of CF.
It needs to be at least CF 6.1.