Export (0) Print
Expand All

Message.from property (JavaScript API for Office v1.0)

JavaScript API for Office v1.0

Gets the email address of the sender of a message.

Last modified: June 16, 2014

Office.context.mailbox.item.from

An EmailAddressDetails object containing the email address of the message's sender.

Supported clients

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

Library

Outlook-15.js, OutlookWebApp-15.js

Namespace

Office

The from and sender properties return an EmailAddressDetails object that represents the same person unless the message is sent by a delegate. In that case, the from property returns the EmailAddressDetails object that represents the delegator, and the sender property represents the delegate.

When the client is Outlook 2013, Outlook 2013 RT, the recipientType property of the EmailAddressDetails object is undefined.

Show:
© 2014 Microsoft