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.