SecureBlackbox 2020 C++ Edition

Questions / Feedback?

BeforeSendAttachment Event

Marks the start of sending an attachment.

Syntax

ANSI (Cross Platform)
virtual int FireBeforeSendAttachment(SOAPClientBeforeSendAttachmentEventParams *e);
typedef struct {
int LastAttachment; int reserved; } SOAPClientBeforeSendAttachmentEventParams; Unicode (Windows) virtual INT FireBeforeSendAttachment(SOAPClientBeforeSendAttachmentEventParams *e);
typedef struct {
BOOL LastAttachment; INT reserved; } SOAPClientBeforeSendAttachmentEventParams;
- (void)onBeforeSendAttachment:(int*)lastAttachment;
#define EID_SOAPCLIENT_BEFORESENDATTACHMENT 2

virtual INT SECUREBLACKBOX_CALL FireBeforeSendAttachment(BOOL &bLastAttachment);

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 C++ Edition - Version 20.0 [Build 8166]