Skip to main content
Inspiring
June 7, 2011
Answered

cfmailparam remove attribute

  • June 7, 2011
  • 1 reply
  • 922 views

The docs are here.  http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7c15.html

It states that the default value for the remove attribute is false.  My observations that not only is that incorrect, you can't even make it false.  If I run this code,

<cfmail to="me" from="me" subject="image test" type="html">
<p>hi dan</p>
<cfmailparam file="cancel.gif" disposition="inline" remove="false">
</cfmail>

the cfmail file looks like this:

type: text/html; charset=UTF-8

server: smtp.someserver.ca:25

from: me

to: me

subject: image test

X-Mailer: ColdFusion 9 Application Server

body:

body: <p>hi dan</p>

body:

file: file:D:/DW/dwtest/Dan/cancel.gif

file-disposition: inline

remove: true

Does this happen to anyone else?

    This topic has been closed for replies.
    Correct answer teaganrichat

    This is a bug that was taken care of in Hot Fix 9.01.  Be sure to folow the installation steps closely. http://kb2.adobe.com/cps/862/cpsid_86263.html

    Tim

    1 reply

    Inspiring
    June 8, 2011

    I don't have CF9 to test on here, but on CF8.0.1 it works as I would expect it to, ie: as per the docs.

    If I remember I'll check on CF9 this evening when I get home.

    --

    Adam

    teaganrichatCorrect answer
    Participant
    August 9, 2011

    This is a bug that was taken care of in Hot Fix 9.01.  Be sure to folow the installation steps closely. http://kb2.adobe.com/cps/862/cpsid_86263.html

    Tim