CFMAILPARAM
CFMAILPARAM can either attach a file or add a header to a message. If you use CFMAILPARAM, it is nested within a CFMAIL tag. You can use more than one CFMAILPARAM tags within a CFMAIL tag in order to attach one or more files and headers.
FILE
Required if you do not specify the NAME attribute. Attaches the specified file to the message. This attribute is mutually exclusive with the NAME attribute.
NAME
Required if you do not specify the FILE attribute. Specifies the name of the header. Header names are case insensitive. This attribute is mutually exclusive with the FILE attribute.
VALUE
Optional. Indicates the value of the header.
Sylvano
dsylvano@hotmail.com
"every and each day when I learn something new is a small victory..."
You can use NAME and VALUE attributes to add headers to your mail.
For example, to add a Reply-to header set to the address youremail@whatever.com, you can do this:
<cfmailparam name="Reply-To" value="youremail@whatever.com">
in the same manner you can specify the file you want to attach to your mail:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.