ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Error while transmitting the email
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
Updates the messages of MS Exchange according to the email server. The following operations are performed:
  • The messages found in the out-box of MS Exchange are sent to the Internet email server.
  • The messages waiting on the Internet server are transferred into the in-box of the MS Exchange client.
EmailUpdate can only be used with the MS Exchange client.
Reminder: To handle the emails, an email session must be started by EmailStartSession.
EmailID is int
// Start the email session
EmailID = EmailStartSession("PROFILE_Example")
// Retrieve the messages in the in-box of MS Exchange
IF EmailUpdate(EmailID) = True THEN
Info("Messages retrieved")
ELSE
Error()
END
Syntax
<Result> = EmailUpdate(<Session>)
<Result>: Boolean
  • True if the update was performed,
  • 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.
<Session>: Integer or emailOutlookSession variable
Identifier of current email session. This value can be:
Remarks

Error while transmitting the email

If a message was not transmitted because of a bad Internet connection or because of an invalid address, the message is returned to the MS Exchange client: the message is displayed in the unread messages.
Business / UI classification: Business Logic
Component: wd300com.dll.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help