mailbox (preview requirement set)
Office.context.mailbox
Provides access to the Outlook add-in object model for Microsoft Outlook.
Requirements
Requirement | Value |
---|---|
Minimum mailbox requirement set version | 1.1 |
Minimum permission level | restricted |
Applicable Outlook mode | Compose or Read |
Properties
Property | Minimum permission level |
Modes | Return type | Minimum requirement set |
---|---|---|---|---|
diagnostics | read item | Compose Read |
Diagnostics | 1.1 |
ewsUrl | read item | Compose Read |
String | 1.1 |
item | restricted | Compose Read |
Item | 1.1 |
masterCategories | read/write mailbox | Compose Read |
MasterCategories | 1.8 |
restUrl | read item | Compose Read |
String | 1.5 |
userProfile | read item | Compose Read |
UserProfile | 1.1 |
Methods
Events
You can subscribe to and unsubscribe from the following events using addHandlerAsync and removeHandlerAsync respectively.
Important
Events are only available with task pane implementation.
Event | Description | Minimum requirement set |
---|---|---|
ItemChanged |
A different Outlook item is selected for viewing while the task pane is pinned. | 1.5 |
SelectedItemsChanged |
One or more messages are selected or deselected. | 1.13 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins