ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
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
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 get more details on the error, use ErrorInfo.
<Session>: emailOutlookSession variable
Name of the variable of type emailOutlookSession to be used.
<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:
emailStatusNotReadIndicates that the message was not read.
emailStatusReadIndicates that the message was read.
Component: wd290com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help