MailBee.NET Objects 7.2

FolderQuota.MaxMessageCount Property

Gets the maximum message number limit for the account or folder the quota applies to.

public int MaxMessageCount {get;}

Property Value

The non-negative Int32 value containing the maximum message number limit for 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

FolderQuota Class | MailBee.ImapMail Namespace