ImapMessageStatus Event
Occurs when the IMAP4 server informs the client of any changes to mail messages in the currently selected folder.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public event ImapMessageStatusEventHandler MessageStatus

Value

Type: MailBee.ImapMailImapMessageStatusEventHandler
Remarks
MailBee raises this event when any of the following is received from the server:
  • Unilateral FETCH response containing flag updates to a message (for instance, certain message was read or marked answered by another mail agent)
  • EXISTS response informing the client of the new number of all messages in the folder
  • RECENT response informing the client of the new number of recent messages in the folder
  • EXPUNGE response containing message number of the mail message which had been permanently deleted from the mailbox
This event is often used in conjunction with ServerStatus event during idling (see Idle) for keeping the application informed of any changes in the monitored folder.
Examples
See Also