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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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>.StartSession()
<Result>: Boolean
  • True if the session was started,
  • False otherwise. The ErrorOccurred variable is set to True if an error occurs.
    To get the details of the error, use ErrorInfo with the errMessage constant.
<Outlook session>: emailOutlookSession variable
Reports and QueriesUser code (UMC)Ajax Name of the emailOutlookSession variable corresponding to the email session to handle.
Remarks
Reports 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: wd260com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment