:GetMessageSize()
Class
Syntax
:GetMessageSize( nMsgNo, [hSession] ) -> nSize
Parameters
|
|
nMsgNo |
Message number to get information about |
|
|
hSession |
Optional: If hSession is not passed, the value in :Session will be used |
Return
Returns the size of the specified message.
If the function succeeds, the return value is the size of the specified message in bytes.
If the function fails, the return value is POP_ERROR.
To get more information about the error, see :nErr and :cErr.
Description
The :GetMessageSize() method returns the size of the specified message.
See Also
:StoreMessage(), :GetMessage(), :GetHeaderValue(), :GetMessageHeader(), :GetMessageID()