Export (0) Print
Expand All

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

JavaScript API for Office v1.1

Gets or sets the Cc (carbon copy) recipients of a message.

Last modified: November 24, 2014

Applicable Outlook modes

Compose or read

Available in requirement sets

Mailbox

Office.context.mailbox.item.cc

Compose mode

A Recipients object that you can use to get and set the Cc recipients of a message.

Read mode

A collection that contains an EmailAddressDetails object for each recipient listed on the Cc line of the message.

In read mode, the cc field returns a collection that contains an EmailAddressDetails object for each recipient listed on the Cc line of the message. The collection is limited to a maximum of 100 members.

New functionality in version 1.1

In compose mode, the cc field is a Recipients object that provides the getAsync and setAsync methods to get and set the list of Cc recipients for the message. It also provides the addAsync method so that you can add additional Cc recipients.

In this article, "Outlook" refers to Outlook for Windows, Outlook for Mac, Outlook RT, OWA for Devices (OWA for Android phones, OWA for iPad, OWA for iPhone), and Outlook Web App. "Outlook rich clients" refers to Outlook for Windows, Outlook for Mac and Outlook RT. At this point, Outlook for Mac supports JavaScript API for Office in only Outlook read mode, and can activate mail apps that reference office.js version 1.0 or 1.1 and use apps for Office schema version 1.0.

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

Show:
© 2014 Microsoft