SecureBlackbox 2020 Node.js Edition

Questions / Feedback?

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Node.js Edition - Version 20.0 [Build 8165]