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_POP_MESSAGECOUNT 20

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_POP_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

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]