MessageSize Property
The size in bytes of the current message.
Syntax
ANSI (Cross Platform) int GetMessageSize(); Unicode (Windows) INT GetMessageSize();
@property (nonatomic,readonly,assign,getter=messageSize) int messageSize; - (int)messageSize;
#define PID_SPOP_MESSAGESIZE 40 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 size in bytes of the current message. If the class is not connected, or MessageNumber does not contain a valid message number, the value of this property is 0. Otherwise, it contains the size of the mail message (including headers) as reported by the server.
The MailServer is asked about the size of the message only if the MessageNumber property has changed. If MessageNumber has not changed, the class returns a cached value.
This property is read-only.
Data Type
Integer