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 user’s mail |
|
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 instance |
|
|
PowerObject |
Returns a reference to the name of the parent |
|
|
mailReturnCode |
Updates the mailRecipient array for a mail |
|
|
mailReturnCode |
Deletes a mail message from the user’s electronic |
|
|
mailReturnCode |
Populates the MessageID array of a mailSession |
|
|
UnsignedLong |
Obtains the handle of a mailSession |
|
|
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 in the mail |
|
|
mailReturnCode |
Displays a dialog box with the specified |
|
|
mailReturnCode |
Obtains a valid electronic mail address based on a |
|
|
mailReturnCode |
Creates a new message in the user’s inbox or |
|
|
mailReturnCode |
Sends a mail message |
|
|
Integer |
Adds an event to the end of the message queue for |
|
|
Integer |
Triggers a specified event in the object and |
|
|
Object |
Returns the type of the object |