StartTransfer Event
Fired when the message text starts transferring.
Syntax
smtp.on('StartTransfer', [callback])
Callback
The 'callback' is called when the 'StartTransfer' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.direction
Remarks
If MessageText is not empty, the StartTransfer event is fired when the MessageText starts transferring from the local host to the MailServer. If MessageText is empty, the event is not fired.
If a file is attached to the MessageText via the AttachedFile property, then StartTransfer fires again when the file starts transferring. Please go to the description of the AttachedFile property for more information.
The Direction parameter shows whether the client (0) or the server (1) is sending the data.