Newer Version Available
messaging:attachment
Compose an attachment and append it to the email.
Example
Attributes
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
| filename | String | Sets a file name on the attachment. If a filename is not provided, one will be generated for you. | 14.0 | ||
| id | String | An identifier that allows the attachment component to be referenced by other components in the page. | 14.0 | global | |
| inline | Boolean | Sets the content-disposition of the attachment in the email to Inline. | 17.0 | ||
| renderAs | String | Indicates how the attachment should be rendered. Valid values are any mime type/subtype. The default value is 'text'. | 14.0 | ||
| rendered | Boolean | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. | 14.0 | global |