BeforeSendAttachment Event
Marks the start of sending an attachment.
Syntax
class SOAPClientBeforeSendAttachmentEventParams { public: bool LastAttachment(); void SetLastAttachment(bool bLastAttachment); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void BeforeSendAttachment(SOAPClientBeforeSendAttachmentEventParams *e);
// Or, subclass SOAPClient and override this emitter function. virtual int FireBeforeSendAttachment(SOAPClientBeforeSendAttachmentEventParams *e) {...}
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.