MessageCount Property
The number of messages in the mailbox.
Syntax
public int getMessageCount();
Remarks
This property contains the number of messages in the mailbox. When the bean 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.
Default Value
0