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: |
Messages collection |
Child
objects: |
Attachments collection |
Default
property: |
Subject |
Properties
|
Available
in version |
|
|
Application |
1.0 |
String |
Read-only |
Attachments |
1.0 |
Attachments
collection object |
Read-only |
Class |
1.0 |
Long |
Read-only |
Conversation |
1.0 |
(Obsolete.
Do not use.) |
Read/write |
ConversationIndex |
1.0 |
String |
Read/write |
ConversationTopic |
1.0 |
String |
Read/write |
DeliveryReceipt |
1.0 |
Boolean |
Read/write |
Encrypted |
1.0 |
Boolean |
Read/write |
Fields |
1.0 |
Field
object or Fields collection object |
Read-only |
FolderID |
1.0 |
String |
Read-only |
ID |
1.0 |
String |
Read-only |
Importance |
1.0 |
Long |
Read/write |
MAPIOBJECT |
1.0 |
(Not for
use with Visual Basic.) |
Read/write
(Note: Not available to Visual Basic applications) |
|
|
|
|
Parent |
1.0 |
Attachments
collection object, Fields collection object, or Recipients collection object |
Read-only |
ReadReceipt |
1.0 |
Boolean |
Read/write |
Recipients |
1.0 |
Recipients
object or Recipients collection object |
Read/write |
|
|
|
|
Sender |
1.0 |
AddressEntry
object |
Read-only |
Sent |
1.0 |
Boolean |
Read/write |
Session |
1.0 |
Session
object |
Read-only |
Signed |
1.0 |
Boolean |
Read/write |
Size |
1.0 |
Long |
Read-only |
StoreID |
1.0 |
String |
Read-only |
Subject |
1.0 |
String |
Read/write |
Submitted |
1.0 |
Boolean |
Read/write |
Text |
1.0 |
String |
Read/write |
TimeReceived |
1.0 |
Variant (vbDate
format) |
Read/write |
TimeSent |
1.0 |
Variant (vbDate
format) |
Read/write |
Type |
1.0 |
String |
Read/write |
Unread |
1.0 |
Boolean |
Read/write |
Methods
|
Available
in version |
|
CopyTo |
1.1 |
folderID as
String, |
Delete |
1.0 |
(none) |
|
|
|
|
|
|
IsSameAs |
1.1 |
object as
Object |
MoveTo |
1.1 |
folderID as
String, |
Options |
1.0 |
(optional)
parentWindow as Long |
|
|
|
|
|
|
Send |
1.0 |
(optional)
saveCopy as Boolean, |
Update |
1.0 |
(optional)
makePermanent 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 Messages
C/C++
programmers can create new message objects using the OLE function CoCreateInstance.
See Also
GetMessage
Method (Session Object), Messages Property (Folder Object)