messaging:attachment
Compose an attachment and append it to the email.
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
filename | String | Sets a file name on the attachment. If a filename isn’t provided, one is generated for you. | 14.0 | ||
id | String | An identifier that other components in the page use to reference the attachment component. | 14.0 | global | |
inline | Boolean | Sets the HTTP Content-Disposition header of the attachment in the email to inline. | 17.0 | ||
renderAs | String | Indicates how the attachment is rendered. The default value is "text".Although any MIME type/subtype is a valid renderAs value, Visualforce supports content conversion of only PDFs.Visualforce doesn’t generate other file formats. It only sets the Content-Type field of the HTTP response header to the specified MIME type. Some file formats, such as .xlsx, can fail to render. | 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 |
See Also