Request body for POST /mail/rawsend. Accepts a complete RFC 822 message (all headers and body) as a verbatim string. The relay injects it without modification, preserving any existing DKIM-Signature header intact. The From, To, Cc, and Bcc addresses are extracted from the message headers automatically — you do not need to specify them separately.
| Name | Type | Description | Notes |
|---|---|---|---|
| raw_email | str | The complete RFC 822 email message including all headers and the body. Must include at minimum `From`, `To`, `Subject`, `Date`, and `MIME-Version` headers. DKIM signatures in the `DKIM-Signature` header are transmitted verbatim and will pass verification at the destination. | |
| id | int | Optional numeric ID of the mail order to use for SMTP authentication. If omitted the first active order on your account is used. Valid IDs are returned by `GET /mail`. | [optional] |
from openapi_client.models.send_mail_raw import SendMailRaw
# TODO update the JSON string below
json = "{}"
# create an instance of SendMailRaw from a JSON string
send_mail_raw_instance = SendMailRaw.from_json(json)
# print the JSON string representation of the object
print(SendMailRaw.to_json())
# convert the object into a dict
send_mail_raw_dict = send_mail_raw_instance.to_dict()
# create an instance of SendMailRaw from a dict
send_mail_raw_from_dict = SendMailRaw.from_dict(send_mail_raw_dict)