getAttachments()
Overview
public array function getAttachments(
required string templateId
, boolean allowDrafts = false
, boolean fromVersionTable
)
Gets an array of an email template's editorially attached attachments.
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| templateId | string | Yes | ID of the template whose attachments you want to get |
| allowDrafts | boolean | No (default=false) | |
| fromVersionTable | boolean | No |