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 event |
Occurs |
---|---|
Constructor in PowerScript Reference |
When the object is created |
Destructor in PowerScript Reference |
When the object is destroyed |
mailSession function |
Datatype returned |
Description |
---|---|---|
ClassName in PowerScript Reference |
String |
Returns the class of the object |
GetContextService in PowerScript Reference |
Integer |
Creates a reference to a context-specific instance of the specified service |
GetParent in PowerScript Reference |
PowerObject |
Returns a reference to the name of the parent object |
mailAddress in PowerScript Reference |
mailReturnCode |
Updates the mailRecipient array for a mail message |
mailDeleteMessage in PowerScript Reference |
mailReturnCode |
Deletes a mail message from the user's electronic mail inbox |
mailGetMessages in PowerScript Reference |
mailReturnCode |
Populates the MessageID array of a mailSession object with the message IDs in the user's inbox |
mailHandle in PowerScript Reference |
UnsignedLong |
Obtains the handle of a mailSession object |
mailLogoff in PowerScript Reference |
mailReturnCode |
Ends the mail session, breaking the connection between the PowerBuilder application and mail |
mailLogon in PowerScript Reference |
mailReturnCode |
Establishes a mail session for the PowerBuilder application |
mailReadMessage in PowerScript Reference |
mailReturnCode |
Opens a mail message whose ID is stored in the mail session's message array |
mailRecipientDetails in PowerScript Reference |
mailReturnCode |
Displays a dialog box with the specified recipient's address information |
mailResolveRecipient in PowerScript Reference |
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 |
mailSaveMessage in PowerScript Reference |
mailReturnCode |
Creates a new message in the user's inbox or replaces an existing message |
mailSend in PowerScript Reference |
mailReturnCode |
Sends a mail message |
PostEvent in PowerScript Reference |
Integer |
Adds an event to the end of the message queue for the object |
TriggerEvent in PowerScript Reference |
Integer |
Triggers a specified event in the object and executes the script for the event |
TypeOf in PowerScript Reference |
Object |
Returns the type of the object |