MessageCount Property
The total number of messages on the Mailbox .
Syntax
public int getMessageCount();
Remarks
This property contains the total number of messages on the Mailbox. The component fills out MessageCount, RecentMessageCount, and MailboxFlags after connecting to the MailServer and selecting or examining a Mailbox.
This property is read-only.
Default Value
0