The mailSession nonvisual object signs on and establishes a messaging application program interface (MAPI) session.
mailSession property |
Datatype |
Description |
---|---|---|
ClassDefinition |
PowerObject |
An object of type PowerObject containing information about the class definition of the object or control |
MessageID[ ] |
String |
Contains the IDs of the messages in a user's mail inbox |
SessionID |
Long |
Contains the handle of the current messaging session |
mailSession function |
Datatype returned |
Description |
---|---|---|
String |
Returns the class of the object |
|
Integer |
Creates a reference to a context-specific instance of the specified service |
|
PowerObject |
Returns a reference to the name of the parent object |
|
mailReturnCode |
Updates the mailRecipient array for a mail message |
|
mailReturnCode |
Deletes a mail message from the user's electronic mail inbox |
|
mailReturnCode |
Populates the MessageID array of a mailSession object with the message IDs in the user's inbox |
|
UnsignedLong |
Obtains the handle of a mailSession object |
|
mailReturnCode |
Ends the mail session, breaking the connection between the PowerBuilder application and mail |
|
mailReturnCode |
Establishes a mail session for the PowerBuilder application |
|
mailReturnCode |
Opens a mail message whose ID is stored in the mail session's message array |
|
mailReturnCode |
Displays a dialog box with the specified recipient's address information |
|
mailReturnCode |
Obtains a valid electronic mail address based on a partial or full user name and optionally updates information in the system's address list if the user has privileges to do so |
|
mailReturnCode |
Creates a new message in the user's inbox or replaces an existing message |
|
mailReturnCode |
Sends a mail message |
|
Integer |
Adds an event to the end of the message queue for the object |
|
Integer |
Triggers a specified event in the object and executes the script for the event |
|
Object |
Returns the type of the object |