mailSession object
The mailSession nonvisual object signs on and establishes
a messaging application program interface (MAPI) session.
Properties
mailSession property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
MessageID[ ] |
String |
Contains the IDs of the messages in a |
SessionID |
Long |
Contains the handle of the current messaging |
Events
mailSession event |
Occurs |
---|---|
When the object is created |
|
When the object is destroyed |
Functions
mailSession function |
Datatype returned |
Description |
---|---|---|
String |
Returns the class of the object |
|
Integer |
Creates a reference to a context-specific |
|
PowerObject |
Returns a reference to the name of the |
|
mailReturnCode |
Updates the mailRecipient array for a |
|
mailReturnCode |
Deletes a mail message from the user’s |
|
mailReturnCode |
Populates the MessageID array of a mailSession |
|
UnsignedLong |
Obtains the handle of a mailSession object |
|
mailReturnCode |
Ends the mail session, breaking the connection |
|
mailReturnCode |
Establishes a mail session for the PowerBuilder |
|
mailReturnCode |
Opens a mail message whose ID is stored |
|
mailReturnCode |
Displays a dialog box with the specified |
|
mailReturnCode |
Obtains a valid electronic mail address |
|
mailReturnCode |
Creates a new message in the user’s |
|
mailReturnCode |
Sends a mail message |
|
Integer |
Adds an event to the end of the message |
|
Integer |
Triggers a specified event in the object |
|
Object |
Returns the type of the object |