Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Office.MessageForm interface
- Package:
- outlook
Represents the details of the form for composing a new message.
Properties
| attachments | Sets the attachments of the message. An attachment must be a file attachment ( |
| bccRecipients | Sets the recipients in the Bcc field of the message. |
| ccRecipients | Sets the recipients in the Cc field of the message. |
| htmlBody | Sets the body of the message. |
| subject | Sets the subject of the message. |
| toRecipients | Sets the recipients in the To field of the message. |
Property Details
attachments
Sets the attachments of the message. An attachment must be a file attachment (Office.MailboxEnums.AttachmentType.File) or an Outlook item attachment (Office.MailboxEnums.AttachmentType.Item).
attachments?: MessageFormAttachment[];
Property Value
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
bccRecipients
Sets the recipients in the Bcc field of the message.
bccRecipients?: string[] | EmailAddressDetails[];
Property Value
string[] | Office.EmailAddressDetails[]
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
Important: The bccRecipients array is limited to a maximum of 100 recipients.
ccRecipients
Sets the recipients in the Cc field of the message.
ccRecipients?: string[] | EmailAddressDetails[];
Property Value
string[] | Office.EmailAddressDetails[]
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
Important: The ccRecipients array is limited to a maximum of 100 recipients.
htmlBody
Sets the body of the message.
htmlBody?: string;
Property Value
string
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
Important: The body content is limited to a maximum size of 32 KB.
subject
Sets the subject of the message.
subject?: string;
Property Value
string
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
Important: The subject is limited to a maximum of 255 characters.
toRecipients
Sets the recipients in the To field of the message.
toRecipients?: string[] | EmailAddressDetails[];
Property Value
string[] | Office.EmailAddressDetails[]
Remarks
Minimum permission level: read item
Applicable Outlook mode: Read
Important: The toRecipients array is limited to a maximum of 100 recipients.
Office Add-ins
Feedback
Was this page helpful?
