addAttachment()
Last updated 3/02/2024
The addAttachment()
is a function on the Five
object and can be called during a Mail Merge action being executed. It is only applicable in a function
attached to the Do Merge Record event of the Mail Merge record. It is used to add attachments to the email being
created before the mail is sent.
Available
Server
Function Signature
addAttachment(attachment: string, name: string) : FiveError;
Parameter | Type | Description |
---|---|---|
attachment | string | A data URI encoded attachment as a string |
name | string | Name of the attachment to display in the email |