OutlookSession Data Type

Official Content
This documentation is valid for:

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

An important advantage of this implementation regarding the previous ones is that this one allows using more than one connection event to the mail server.


It allows using a mail session to send and receive messages via Microsoft Outlook.

In order to use this feature the requirement is to have installed Microsoft Outlook 97.


AttachDir ErrDescription
Count ErrDisplay
EditWindow NewMessages


ChangeFolder Receive
Delete Send


Since Microsoft Outlook 2010 there is no support for Collaboration Data Objects (CDO); it is recommended to use SMTP and POP3 protocols instead.


To use this with .NET generator read SAC 29664.


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

See Also

MAPISession Data Type
POP3Session Data Type
SMTPSession Data Type