MessageCount Property
The number of messages in the mailbox.
Syntax
int GetMessageCount();
Default Value
0
Remarks
This property contains the number of messages in the mailbox. When the class is not connected to the server, the value of this property is 0. When connected, it contains the number of messages in the mail box as reported by the POP server.
This property is read-only.
Data Type
Long