PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Creating an Outlook Exchange profile
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Starts an email session via Outlook.
Remark: To start a session with the Outlook messaging software, use EmailStartOutlookSession.
Example
// Ouverture de la session d'emails
MaSessionOutlook est un emailSessionOutlook
 
SI MaSessionOutlook.OuvreSession() = Vrai ALORS
// Connexion réalisée
SINON
Erreur("Impossible d'établir la connexion")
FIN
Syntax
<Result> = <Outlook session>.OpenSession()
<Result>: Boolean
  • True if the session was started,
  • False otherwise. In case of error, the Variable ErrorOccurred is to True.
    To get the details of the error, use ErrorInfo with the errMessage constant.
<Outlook session>: emailOutlookSession variable
WINDEVUser code (UMC) Name of the emailOutlookSession variable corresponding to the email session to handle.
Remarks
WINDEVWindowsUser code (UMC)

Creating an Outlook Exchange profile

To start a new email session, a "profile" must be defined. This "profile" is defined in the configuration of Internet connection.
To create a profile:
  1. Open the control panel.
  2. Double-click the "Email" option.
  3. Click the "Display the profiles" button.
  4. In the window named "Choosing a profile", click the "Add" button.
  5. Give a name to the profile. This name will be used in the WINDEV programs.
  6. Select "Add a new email account".
  7. Select the "Microsoft Exchange Server" service.
  8. Enter the name of Microsoft Exchange server.
Component: wd270com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment