Skip to main content
WolfShade
Legend
February 16, 2018
Question

Correction for example: cfmailparam

  • February 16, 2018
  • 0 replies
  • 175 views

Hello, all,

I just experienced an issue using example code in Adobe Support for cfmailparam.  I am using CF10.

In the description there is sample code for attaching a file to an email.

<cfmailparam name="anyname" contents="#variablename#">

I followed this example and got an error message indicating that I was not using proper attributes.  As it turns out, the correct combination is:

<cfmailparam file="anyname" contents="#variablename#">

Just in case anyone at Adobe has the chance to correct it in the support section.

V/r,

^ _ ^

    This topic has been closed for replies.