MapiMessage Class
The MapiMessage class contains a message that is sent to or received from the MAPI system. The message includes a subject, text, recipient information, and attachment information.
Syntax
class MapiMessage extends Object
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
conversationID | Gets or sets the string that identifies the conversation thread to which the message belongs. | |
dateReceived | Returns the date when the message was received. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
finalize | ||
flags | Set or get a bitmask of the message status flags. | |
getFileNo | Gets a file attachment from a message. | |
getRecipNo | Retrieves information about a message recipient in a MapiRecipDesc object. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
messageType | Gets or sets the string that indicates that the message is not of the IPM (interpersonal message) type. | |
new | Initializes an instance of the MapiMessage class. (Overrides the new Method.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
numFiles | ||
numRecips | ||
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
originator | ||
owner | Returns the instance that owns the object. (Inherited from Object.) | |
setFileNo | Sets a file attachment for the message. | |
setRecipNo | Adds a recipient to the message. | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
subject | ||
text | ||
toString | Returns a string that represents the current object. (Inherited from Object.) | |
usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) | |
wait | Pauses a process. (Inherited from Object.) | |
xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Top
Remarks
When you send or receive a message, the message is passed to and from the MAPI system as a MapiMessage object.
Inheritance Hierarchy
Object Class
MapiMessage Class