FolderQuotaCurrentMessageCount Property
Gets the number of messages currently existing in the account or folder the quota applies to.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public int CurrentMessageCount { get; }

Property Value

Type: Int32
The non-negative Int32 value containing the number of messages currently existing in the account or folder the quota applies to, or -1 if this information is not available.
Remarks
Nowadays, most servers limit maximum storage size only (maximum number of messages is not limited). Due to this, CurrentMessageCount and MaxMessageCount properties usually return -1.
See Also