|
|
|
|
|
<emailSessionIMAP variable>.ChangeStatus (Function) In french: <Variable emailSessionIMAP>.ChangeEtat Changes the status of an email on a messaging server.
// Switch all emails of an IMAP session to read MySession is emailIMAPSession ... FOR EACH EmailMessage NOT READ OF MySession MySession.ChangeStatus(EmailMessage, emailStatusRead) END
Syntax
<Result> = <Session>.EmailChangeStatus(<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>: emailIMAPSession variable Name of the variable of type emailIMAPSession 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: | | emailStatusNotRead | Indicates that the message was not read. | emailStatusRead | Indicates that the message was read. |
Remarks This function is not available:
Related Examples:
|
Complete examples (WINDEV): WD Mail
[ + ] This application is an email client developed in WINDEV. It is based on the Email objects. This email client is used to retrieve and send emails by using the POP, IMAP and SMTP protocols. You have the ability to apply filters to the incoming emails. The application can also be used to manage several email accounts. The writing of an email is based on the HTML edit control.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|