ImapFolder.RecentMessageCount Property
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9083)
RecentMessageCount
Gets the number of messages that arrived recently. This property is not set for folders returned by a call to GetFolderList() methods and will contain a value of 0.
Declaration
public int RecentMessageCount { get; }
Property Value
Type | Description |
---|---|
Int32 | Number of messages that arrived recently. |
Remarks
If multiple sessions are accessing the mailbox simultaneously, only one of them will be informed about each recently arrived messages. Also, the only reliable way to identify the recent messages is to look at the message flags or to do a Search for them.