• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

cfmailparam

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. Files are MIME encoded before they are sent. Cannot be used with any other attribute besides type. You should note that ColdFusion does not make a copy of any file attachments before sending. If you attach a file to a mail message, you must wait until after the message is sent before deleting the file. If ColdFusion tries to send a message with an attachment and it cannot find the attachment, an exception is raised, and the message is not sent. Required when attaching a file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint