Using MAPI

To use MAPI, you create a MailSession object, then use the MailSession functions to manage it.

For example:

MailSession PBmail
PBmail = CREATE MailSession
... // Manage the session: send messages,
... // receive messages, and so on.

You can use the Browser to get details about the attributes and functions of the MailSession system object, the attributes of the mail-related structures, and the valid values of the mail-related enumerated datatypes.

For information about using the Browser, see the section called “Browsing the class hierarchy” in Users Guide. For complete information about the MailSession object functions, see the section called “mailSession object” in Objects and Controls. For complete information about MAPI, see the documentation for your MAPI-compliant mail application.