ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Error while transmitting the email
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 Email, you need to open an Email session using the EmailStartSession function.
IDEmail is int
// Ouverture de la session d'email
IDEmail = EmailStartSession("PROFIL_Exemple")
// Récupération des messages dans la boîte de réception de MS Exchange
IF EmailUpdate(IDEmail) = True THEN
	Info("Messages récupérés")
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 the current email session. This value can be:
Remarks

Error while transmitting the email

If a message could not be transmitted due to a poor Internet connection or an incorrect address, the message is returned to the MS Exchange client: the message therefore appears in 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: 03/27/2025

Send a report | Local help