This topic has not yet been rated - Rate this topic

Message object (apps for Office)

apps for SharePoint

Published: February 26, 2013

Represents the selected message.

Office.context.mailbox.item
Methods

Method name

Description

attachments

Gets an array of attachments for the message.

getEntities

Returns all entities found in the message.

getEntitiesByType

Returns all entities of the specified type found in the message.

getFilteredEntitiesByName

Returns all matches recognized in the message that meet the requirements of the named filter.

getRegExMatches

Returns all regular expression matches found in the message.

getRegExMatchesByName

Returns all regular expression matches recognized in the message using the named regular expression.

Properties

Property name

Description

cc

Gets a collection containing an EmailAddressDetails object for each recipient on the Cc line of the message.

conversationId

Gets the identifier for the conversation that the message is associated with.

from

Gets an EmailAddressDetails object for the message sender.

internetMessageId

Gets the unique Internet message identifier for the message.

normalizedSubject

Gets the subject of the message, with all prefixes removed (including “RE:” and “FWD:”).

sender

Gets an EmailAddressDetails object for the message sender.

subject

Gets the subject of the message, exactly as sent.

to

Gets a collection containing an EmailAddressDetails object for each recipient on the To line of the message.

The Message object is returned as the item property of the Mailbox object. The Message object extends the Item object.

Supported clients

Outlook 2013 and Outlook Web App

Library

Outlook-15.js, OutlookWebApp-15.js

Namespace

Office

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.