send_message_with_attachments Method
Sends a SOAP message with attachment(s) to the server.
Syntax
def send_message_with_attachments(url: str, primary_message_id: str) -> None: ...
Remarks
This method follows the general pattern used by send_message method. It also lets you pass a selection of attachments to the service.
Assign the attachment content to attachment_bytes, attachment_file, or attachment_stream property. Subscribe to on_before_send_attachment to pass more than one attachment.