ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
  • 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
// Start the email session
MyOutlookSession is emailOutlookSession
 
IF MyOutlookSession.StartSession() = True THEN
//Connection successful
ELSE
Error("Unable to establish the connection")
END
Syntax
<Result> = <Outlook session>.OpenSession()
<Result>: Boolean
  • True if the session was started,
  • False otherwise. If an error occurs, the ErrorOccurred variable is set to True.
    To get more details on the error, use ErrorInfo with the errMessage constant.
<Outlook session>: emailOutlookSession variable
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)Ajax Name of the emailOutlookSession variable corresponding to the email session to handle.
Remarks
WINDEVWEBDEV - Server codeReports and QueriesWindowsUser code (UMC)Ajax

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: wd290com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help