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

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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