SendMessageWithAttachments Method
Sends a SOAP message with attachment(s) to the server.
procedure SendMessageWithAttachments(Url: String; PrimaryMessageId: String);
Remarks
This method follows the general pattern used by SendMessage method. It also lets you pass a selection of attachments to the service.
Assign the attachment content to AttachmentBytes, AttachmentFile, or AttachmentStream property. Subscribe to BeforeSendAttachment to pass more than one attachment.