prepareAttachments()
Overview
public array function prepareAttachments(
required string template
, struct args
)
Runs an email template's 'prepareAttachments' handler action to prepare dynamic attachments for the email send.
Arguments
Name | Type | Required | Description |
---|---|---|---|
template | string | Yes | The template whose attachments are to be prepared |
args | struct | No | A struct of args that have been passed to the email sending logic that will inform the building of this email |