PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Changes the status of an email on a messaging server.
Example
// Switch all emails of an Outlook session to read
MySession is emailOutlookSession
...
FOR EACH EmailMessage NOT READ OF MySession
MySession.ChangeStatus(EmailMessage, emailStatusRead)
END
Syntax
<Result> = <Session>.ChangeStatus(<Email> , <New status>)
<Result>: Boolean
  • True if the status was modified on the server,
  • False otherwise. To find out the error details, use ErrorInfo.
<Session>: emailOutlookSession variable
Name of the emailOutlookSession variable to use.
<Email>: Email variable
Name of the Email variable corresponding to the email to use.
<New status>: Integer constant
Status to assign to the email, the possible values are:
emailStatusReadIndicates that the message was read.
emailStatusNotReadIndicates that the message was not read.
Component : wd250com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment