IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

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_PPOP_MESSAGESIZE 38

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_PPOP_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

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