MapiMessage
(VB)
The Visual
Basic MapiMessage type contains message information.
Quick Info
Header
file: |
MAPIVB32.BAS |
Type MapiMessage
Reserved as Long
Subject as String
NoteText as String
MessageType as String
DateReceived as String
ConversiondID as String
Flags as Long
Originator as Long
RecipCount as Long
FileCount as Long
End Type
Members
Reserved
Reserved;
must be zero.
Subject
The subject
text, limited to 256 characters or less. Messages saved with the MAPISaveMail
NoteText
A string
containing text in the message. An empty string indicates no text. For inbound
messages, each paragraph is terminated with a carriage return-line feed pair (0x0d0a). For outbound messages,
paragraphs can be delimited with a carriage return, a line feed, or a carriage
return-line feed pair (0x0d, 0x0a, or
0x0d0a).
MessageType
A message
type string used by applications other than interpersonal electronic mail. An
empty string indicates an interpersonal message (IPM) type.
DateReceived
A string
indicating the date a message is received. The format is YYYY/MM/DD HH:MM;
hours are measured on a 24-hour clock.
ConversationID
A string
indicating the conversation thread identifier to which this message belongs.
Flags
Bitmask of
flags. The following flags can be set:
MAPI_RECEIPT_REQUESTED
A receipt
notification is requested.
MAPI_SENT
The message
has been sent.
MAPI_UNREAD
The message
has not been read.
Originator
A MapiFile
RecipCount
A count of
the recipient descriptor types. A value of 0 indicates that no recipients are
included.
FileCount
A count of
the file attachment descriptor types. A value of 0 indicates that no file
attachments are included.