• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cfmailparam error

Guest
Jul 10, 2006 Jul 10, 2006

Copy link to clipboard

Copied

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.



TOPICS
Advanced techniques

Views

402

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 10, 2006 Jul 10, 2006

Copy link to clipboard

Copied

quote:

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 10, 2006 Jul 10, 2006

Copy link to clipboard

Copied

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">

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jul 10, 2006 Jul 10, 2006

Copy link to clipboard

Copied

LATEST
This suggests that your production server is using an obsolete version of CF.
It needs to be at least CF 6.1.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation