Edit

Share via


OfficeScript.EmailAttachment interface

The attachment to send with the email. A value must be specified for at least one of the to, cc, or bcc parameters. If no recipient is specified, the following error is shown: "The message has no recipient. Please enter a value for at least one of the "to", "cc", or "bcc" parameters."

Properties

content

The contents of the file.

name

The text that is displayed below the icon representing the attachment. This string doesn't need to match the file name.

Property Details

content

The contents of the file.

content: string;

Property Value

string

name

The text that is displayed below the icon representing the attachment. This string doesn't need to match the file name.

name: string;

Property Value

string