AXSoft SMTPSock - MessageProgress
Description |
Occurs while the "data" portion of the mail is being sent. |
||||||||||||
Type |
Event |
||||||||||||
Syntax |
object_MessageProgress(MessageBytesSent As Long, TotalMessageSize As Long, CurrentAttachmentFilename As String)
|
||||||||||||
Return Type |
None |
||||||||||||
Remarks |
While the message is being transferred, the CurrentAttachmentFilename will return an empty string ("") until an attachment is being sent. If no attachments were specified, then the CurrentAttachmentFilename will return an empty string throughout the progress. The TotalMessageSize is the length (in bytes) of the message body (MessageBody) + the length of all the attachments (Attachments). Note that the total bytes actually being sent and the total bytes of the transfer will be greater than MessageBytesSent and TotalMessageSize. Since attachments have to be Base64 encoded before they are sent, more bytes have actually been sent then that was reported by MessageBytesSent. The MessageBytesSent returns what portion of the message body was sent and what portion of an attachment has been sent. |