BeforeSendAttachment Event
Marks the start of sending an attachment.
Syntax
soapclient.on('BeforeSendAttachment', [callback])
Callback
The 'callback' is called when the 'BeforeSendAttachment' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.lastAttachment
Remarks
Use either AttachmentBytes, AttachmentFile or AttachmentStream properties to pass attachment to the class.
Set LastAttachment parameter to False to indicate that you have more than one attachment to pass.