Office.ReplyFormAttachment interface

A file or item attachment. Used when displaying a reply form.

Properties

inLine

Only used if type is set to file. If true, indicates that the attachment will be shown inline in the message body, and should not be displayed in the attachment list.

itemId

Only used if type is set to item. The EWS item ID of the attachment. This is a string up to 100 characters.

name

A string that contains the name of the attachment, up to 255 characters in length.

type

Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.

url

Only used if type is set to file. The URI of the location for the file.

Important: This link must be publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can be accessible on a private network as long as it doesn't need further authentication.

Property Details

inLine

Only used if type is set to file. If true, indicates that the attachment will be shown inline in the message body, and should not be displayed in the attachment list.

inLine?: boolean;

Property Value

boolean

itemId

Only used if type is set to item. The EWS item ID of the attachment. This is a string up to 100 characters.

itemId?: string;

Property Value

string

name

A string that contains the name of the attachment, up to 255 characters in length.

name: string;

Property Value

string

type

Indicates the type of attachment. Must be file for a file attachment or item for an item attachment.

type: string;

Property Value

string

url

Only used if type is set to file. The URI of the location for the file.

Important: This link must be publicly accessible, without need for authentication by Exchange Online servers. However, with on-premises Exchange, the link can be accessible on a private network as long as it doesn't need further authentication.

url?: string;

Property Value

string