Name

CFMAILPARAM — New as of ColdFusion 4.5

Synopsis

<CFMAIL>
  [<CFMAILPARAM>]
Message body
</CFMAIL>

Used within a CFMAIL block to send file attachments and custom header information. Multiple CFMAILPARAM tags may be nested within a CFMAIL block. Only one file attachment or custom header can be specified per CFMAILPARAM tag.

Attributes

FILE=" filename "

The full path to the file you wish to attach to your email message. Multiple CFMAILPARAM tags may be used to attach more than one file. Can’t be used with any other attributes. Required when attaching a file.

NAME=" name "

The name of the header entry to write. Multiple header entries may be written using a CFMAILPARAM tag for each entry. Can be used only with the VALUE attribute. Required when including custom header information.

VALUE=" value "

The value to be written for the header entry. Can be used only with the NAME attribute. Required when including custom header information.

Get Programming ColdFusion now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.