Starts a session.
Extended Data Types: MAPISession, POP3Session, SMTPSession
.NET Framework, Java, Ruby (up to GeneXus X Evolution 3), Visual FoxPro (up to GeneXus X Evolution 3)
MAPISession: The MAPI session will be started with the profile indicated in the Profile property. If this property has not been assigned, a window will be opened, prompting you for the profile to be used.
After starting a session with the indicated profile, the “Inbox” folder (or an equivalent one) is opened.
SMTPSession/POP3Session: The SMTP/POP3 session will be started with the server indicated in the Host property and in the port indicated in the Port property. The values of the UserName and Password properties will be used for the server authentication.
Note: This method returns an error code, so it is possible to call it as a (I.E.: &Err = &DataType.Login) function.
MAPISession Data Type
POP3Session Data Type
SMTPSession Data Type