MessageCount Property
The number of messages in the mailbox.
Syntax
ANSI (Cross Platform) int GetMessageCount(); Unicode (Windows) INT GetMessageCount();
@property (nonatomic,readonly,assign,getter=messageCount) int messageCount; - (int)messageCount;
#define PID_SPOP_MESSAGECOUNT 24 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SPOP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
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
Integer