About MAPI

PowerBuilder supports MAPI (messaging application program interface), so you can enable your applications to send and receive messages using any MAPI-compliant electronic mail system.

For example, your PowerBuilder applications can:

How MAPI support is implemented

To support MAPI, PowerBuilder provides the items listed in Table 20-1.

Table 20-1: PowerBuilder MAPI support

Item

Name

A mail-related system object

  • MailSession

Mail-related structures

  • MailFileDescription

  • MailMessage

  • MailRecipient

Object-level functions for the MailSession object

  • MailAddress

  • MailDeleteMessage

  • MailGetMessages

  • MailHandle

  • MailLogoff

  • MailLogon

  • MailReadMessage

  • MailRecipientDetails

  • MailResolveRecipient

  • MailSaveMessage

  • MailSend

Enumerated datatypes

  • MailFileType

  • MailLogonOption

  • MailReadOption

  • MailRecipientType

  • MailReturnCode