Message.sender property (JavaScript API for Office v1.1)

JavaScript API for Office v1.1

Gets the email address of the sender of an email message.

Last modified: November 24, 2014

Applicable Outlook modes

Read

Available in requirement sets

Mailbox

Office.context.mailbox.item.sender

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

App types

Mail app

Supported clients

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

Library

Office.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, the recipientType property of the EmailAddressDetails object is undefined.

Show:
© 2014 Microsoft