Message Object            

The Message object represents a single message, item, document, or form in a folder.

Quick Info

Specified in header file:

MDISP.ODL

First available in version:

OLE Messaging Library 1.0

Parent objects:

Messages5C3TZ6O collection

Child objects:

Attachments2XOH1D collection
Fields0EU12H collection
Recipients1S0GWB8 collection

Default property:

Subject11DE9R5

 

Properties

 
Property name

Available in version

 
Type

 
Access

Application5GI0QO

1.0

String

Read-only

AttachmentsH8DUIC

1.0

Attachments collection object

Read-only

Class1CT5_O0

1.0

Long

Read-only

ConversationV8.GG.

1.0

(Obsolete. Do not use.)

Read/write

ConversationIndex38_K2KP

1.0

String

Read/write

ConversationTopic_2RC1J

1.0

String

Read/write

DeliveryReceiptUQSTBP

1.0

Boolean

Read/write

EncryptedJWKYL.

1.0

Boolean

Read/write

Fields134XWNU

1.0

Field object or Fields collection object

Read-only

FolderID16XVAVX

1.0

String

Read-only

ID1RMKEX8

1.0

String

Read-only

Importance1893BF

1.0

Long

Read/write

MAPIOBJECTHERGR_

1.0

(Not for use with Visual Basic.)

Read/write (Note: Not available to Visual Basic applications)

 

 

 

 

Parent13HN1VR

1.0

Attachments collection object, Fields collection object, or Recipients collection object

Read-only

ReadReceipt4F9T_AN

1.0

Boolean

Read/write

RecipientsC6JW2A

1.0

Recipients object or Recipients collection object

Read/write

 

 

 

 

Sender4PU1_U4

1.0

AddressEntry object

Read-only

Sent4TQYKD

1.0

Boolean

Read/write

Session23X3PG

1.0

Session object

Read-only

Signed6LVM2Z

1.0

Boolean

Read/write

Size2JH3_TR

1.0

Long

Read-only

StoreID04WRSM

1.0

String

Read-only

Subject11DE9R5

1.0

String

Read/write

Submitted0.RMQL

1.0

Boolean

Read/write

Text1DH3_DE

1.0

String

Read/write

TimeReceived138S6WY

1.0

Variant (vbDate format)

Read/write

TimeSentIVLR.9

1.0

Variant (vbDate format)

Read/write

TypeSWMKS8

1.0

String

Read/write

Unread.LGN_H

1.0

Boolean

Read/write

 

Methods

 
Method name

Available in version

 
Parameters

CopyTo2KTW_HE

1.1

folderID as String,
(optional) storeID as String

Delete._GJYW

1.0

(none)

 

 

 

 

 

 

IsSameAs5K3Z_O7

1.1

object as Object

MoveTo.26SRQ

1.1

folderID as String,
(optional) storeID as String

Options5Y5I4_

1.0

(optional) parentWindow as Long

 

 

 

 

 

 

Send1JTD0I1

1.0

(optional) saveCopy as Boolean,
(optional) showDialog as Boolean,
(optional) parentWindow as Long

Update2E9FDDD

1.0

(optional) makePermanent as Boolean,
(optional) refreshObject as Boolean

 

Remarks

A Message object is considered a top-level object, meaning it can be created directly from a Visual Basic program, through either late binding or early binding.

Visual Basic programmers can create new message objects using the Messages5C3TZ6O collection s AddF5G68T method.

C/C++ programmers can create new message objects using the OLE function CoCreateInstance.

See Also

GetMessage Method (Session Object)OG58GS, Messages Property (Folder Object)1B95_J2