Office.ReplyFormAttachment interface
A file or item attachment. Used when displaying a reply form.
Properties
| base64file | The Base64-encoded string of the file to be attached. Only use if |
| in |
If true, indicates that the attachment will be shown inline in the message body and shouldn't be displayed in the attachment list. Only use if |
| item |
The EWS item ID of the attachment. This is a string up to 100 characters. Only use if |
| name | A string that contains the name of the attachment, up to 255 characters in length. |
| type | Indicates the type of attachment. |
| url | The URI of the location for the file. Only use if |
Property Details
base64file
The Base64-encoded string of the file to be attached. Only use if type is set to base64.
base64file?: string;
Property Value
string
Remarks
[Api set: Mailbox 1.15]
Minimum permission level: read item
Applicable Outlook mode: Read
inLine
If true, indicates that the attachment will be shown inline in the message body and shouldn't be displayed in the attachment list. Only use if type is set to base64 or file.
inLine?: boolean;
Property Value
boolean
Remarks
[Api set: Mailbox 1.1]
Minimum permission level: read item
Applicable Outlook mode: Read
itemId
The EWS item ID of the attachment. This is a string up to 100 characters. Only use if type is set to item.
itemId?: string;
Property Value
string
Remarks
[Api set: Mailbox 1.1]
Minimum permission level: read item
Applicable Outlook mode: Read
name
A string that contains the name of the attachment, up to 255 characters in length.
name: string;
Property Value
string
Remarks
[Api set: Mailbox 1.1]
Minimum permission level: read item
Applicable Outlook mode: Read
type
Indicates the type of attachment.
type: MailboxEnums.AttachmentType;
Property Value
Remarks
[Api set: Mailbox 1.1]
Minimum permission level: read item
Applicable Outlook mode: Read
Important:
The
base64attachment type was introduced in Mailbox requirement set 1.15. It's only supported by thedisplayReplyAllForm,displayReplyAllFormAsync,displayReplyForm, anddisplayReplyFormAsyncmethods.The
cloudattachment type isn't supported by thedisplayNewMessageForm,displayNewMessageFormAsync,displayReplyAllForm,displayReplyAllFormAsync,displayReplyForm, anddisplayReplyFormAsyncmethods.
url
The URI of the location for the file. Only use if type is set to file.
url?: string;
Property Value
string
Remarks
[Api set: Mailbox 1.1]
Minimum permission level: read item
Applicable Outlook mode: Read
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.