BeforeSendAttachment Event
Marks the start of sending an attachment.
Syntax
typedef struct { bool LastAttachment; } TsbxSOAPClientBeforeSendAttachmentEventParams; typedef void __fastcall (__closure *TsbxSOAPClientBeforeSendAttachmentEvent)(System::TObject* Sender, TsbxSOAPClientBeforeSendAttachmentEventParams *e); __property TsbxSOAPClientBeforeSendAttachmentEvent OnBeforeSendAttachment = { read=FOnBeforeSendAttachment, write=FOnBeforeSendAttachment };
Remarks
Use either AttachmentBytes, AttachmentFile or AttachmentStream properties to pass attachment to the component.
Set LastAttachment parameter to False to indicate that you have more than one attachment to pass.