BeforeReceiveAttachment Event
Marks the start of receiving an attachment.
Syntax
soapclient.on('BeforeReceiveAttachment', [callback])
Callback
The 'callback' is called when the 'BeforeReceiveAttachment' event is emited.
function(e){ }
The argument 'e' has the following properties:
Remarks
This event fires for every new attachment being received from the service.
Tune up OutputAttachmentBytes, OutputAttachmentFile or OutputAttachmentStream properties inside the event handler to indicate where the attachment content should be saved.