SendMessageWithAttachments Method
Sends a SOAP message with attachment(s) to the server.
Object Oriented Interface
public function doSendMessageWithAttachments($url, $primarymessageid);
Procedural Interface
secureblackbox_soapclient_do_sendmessagewithattachments($res, $url, $primarymessageid);
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.