Occurs when the IMAP4 server informs the client of any changes to mail messages in the currently selected folder.
The event handler receives an argument of type ImapMessageStatusEventArgs containing data related to this event. The following ImapMessageStatusEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Flags | Gets the new value of the message flags. |
| MessageCountOrIndex | Gets the count or index of message(s) mentioned in the current response. |
| State | Gets a reference to the object which was supplied by the developer in state parameter of asynchronous methods of the mailer components. |
| StatusID | Gets the status string of the current response. |
MailBee raises this event when any of the following is received from the server:
The example is available in Idle topic.
Imap Class | MailBee.ImapMail Namespace | ServerStatus | Idle