Export (0) Print
Expand All

Context.mailbox property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets the mailbox object that provides access to API members specifically for mail apps.

Last modified: June 12, 2014

var outlookOm = Office.context.mailbox;

The following line of code access the item object of the JavaScript API for Office.

// Access the Item object.
var item = Office.context.mailbox.item;

App types

Mail apps

Supported clients

Outlook 2013, Outlook 2013 SP1, Outlook 2013 RT, Outlook Web App, and OWA for Devices

Library

Office.js, Outlook-15.js, OutlookWebApp-15.js

Namespace

Office

Show:
© 2014 Microsoft