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

NameTypeRequiredDescription
templateIdstringYesID of the template whose attachments you want to get
allowDraftsbooleanNo (default=false)
fromVersionTablebooleanNo