CFMAILPARAM
Attach files or set attributes to outgoing email. Must be inside a CFMAIL
Usage
<cfmailparam>
Attributes
Attribute | default | required | summary |
---|---|---|---|
ATTRIBUTECOLLECTION | A structure containing the tag attributes | ||
FILE | ![]() |
The path to the file to be attached | |
NAME | The name of the mail attribute. If specified then FILE is invalid | ||
VALUE | The value of the mail attribute. If specified must be with NAME | ||
DISPOSITION | attachment | How to treat the file; either as INLINE or ATTACHMENT | |
CONTENTID | If DISPOSITION=INLINE then this is the content-id | ||
TYPE | If file, this is the MIME-TYPE of the file | ||
URIDIRECTORY | false | Is the path to the file relative to the document root |