PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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.
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. The ErrorOccurred variable is set to True if an error occurs. To find out the error details, use ErrorInfo associated 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230com.dll.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment