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.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public ReadOnly Property RecentMessageCount As Integer
	Get
C#
public int RecentMessageCount { get; }

Field Value

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also