ImapMessageCount Property
Gets the number of messages in the currently selected folder.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public int MessageCount { get; }

Property Value

Type: Int32
The integer value containing the number of messages in the currently selected folder, or 0 if no folder is selected.
Remarks
Ordinal message number of the first message in a folder is 1 (not 0). Ordinal message number of the last message in a folder is MessageCount.
See Also