:GetMessageBytesCopied()
Class
Syntax
:GetMessageBytesCopied( [hSesion] ) -> nBytes
Parameters
|
|
hSession |
Optional: If hSession is not passed, the value in :Session will be used |
Return
Number of bytes written for the current message.
Description
The :GetMessageBytesCopied() method returns the number of bytes in the current message that have been sent to the mail server. The values returned by this function are only valid when called during the delivery of a message through the :SendMessage() or :AppendMessage() methods.
If :AppendMessage() is used multiple times during the transmission of a message, to append messages from multiple files to the current message, then the message size will increase with each message appended.
See Also