Method POP3Client():getMessageSize() Professional

Retrieves the sizes and message numbers of all messages on the POP3 server.

:getMessageSize() --> aSize

The return value is an array containing an element for each message on the server. Each of these elements is a two dimensional array, where the first element is the number of the message and the second element is the size of the message in bytes. { {nNum1,nSize1} [,{nNum2,nSize2}] } The first element (message number) can be used as the nMsgIndex parameter in the methods :getMessage(), :deleteMessage(), :getMessageString(), :getMessageHeader() and :getMessageHeaderString(). If there are no available messages an empty array is returned.


The size of each message on the POP3 server may be queried with this method. Note: A call to :deleteMessage() or :undeleteMessage() invalidates the result of this method.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.