Message Object

This is a key object in CDO, representing almost every item you can place into a folder in Exchange. This object has the common CDO properties of Session and Class, in addition to those properties described in the following sections.

Message Properties

In addition to the properties common to most CDO objects, the Message object has a large list of attributes unique to itself. These properties are listed and described in Table A.11.

Table A.11. Properties of the Message Object
NameReturnsDescription
FolderIDVariantRead Only. Returns the ID of the folder that contains this message.
StoreIDStringRead Only. Returns the ID of the InfoStore containing this message.
IDStringRead Only. Also known as the EntryID, this property returns the unique ...

Get Exchange & Outlook®: Constructing Collaborative Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.