MAPISession Data Type

Official Content
This documentation is valid for:

Unifies the interaction functions with the sending and reception of messages for the different languages generated. 

An important advantage of this implementation as compared to the previous ones is that this one allows you to use more than one connection event to the mail server.   

Description

It allows you to send/receive messages via Microsoft's MAPI (Mail Application Program Interface). 

Using the latter modality is not recommended unless you want to use the Microsoft Exchange Server's services and Microsoft Outlook is not available.     

The requirements for using this feature are:

  • Microsoft Outlook 97 or later version or Microsoft's Exchange Client
  • Collaboration Data Objects (CDO) 1.2 or later version

The CDOs 1.2 include the following products: 

  • MS Outlook 98 and MS Outlook 2000 (1.21 Version)
  • MS Exchange 5.5 Server (Version 1.2 or Version 1.21 in SP1 or higher)

Properties

AttachDir ErrDescription
Count ErrDisplay
EditWindow NewMessages
ErrCode Profile

Methods

ChangeFolder MarkAsRead
Delete Receive
Login Send
Logout  

Scope

Languages: .NET, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)

See Also

OutlookSession Data Type
POP3Session Data Type
SMTPSession Data Type