MessageSize Property
The size in bytes of the current message.
Syntax
int GetMessageSize();
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
Long