:GetContentLength()
Class
Syntax
:GetContentLength( [hMessage] ) -> nBytes
Parameters
|
|
hMessage |
Optional. Handle of the message to act on. Provided during :CreateMessage() operation |
Return
If the function succeeds, the return value is the content length.
If the function fails, the return value is MIME_ERROR.
To get extended error information, see :nErr and :cErr.
Description
The :GetContentLength() method returns the size of the current message part content in bytes.
See Also
:GetMessageHeader(), :GetMessagePart(), :SetMessagePart()