PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 24 feature!
  • Error while transmitting the email
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
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.
<EmailOutlookSession variable>.Update can only be used with the MS Exchange client.
Reminder: To handle the emails, an email session must be started by <EmailOutlookSession variable>.StartSession.
Example
// Start the session
SessionID is emailOutlookSession
...
// Retrieve the messages in the in-box of MS Exchange
IF SessionID.Update() = True THEN
Info("Messages retrieved")
ELSE
Error()
END
Syntax
<Result> = <Session>.Update()
<Result>: Boolean
  • True if the update was performed,
  • False otherwise. The ErrorOccurred variable is set to True if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Session>: emailOutlookSession variable
Name of the emailOutlookSession variable used to identify the session.
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.
Component : wd240com.dll.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment