Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2.04 KB

File metadata and controls

34 lines (25 loc) · 2.04 KB

MailOrderDetail

Extended mail order record including the current SMTP password. Returned by GET /mail/{id}. The username and password fields can be used to authenticate directly against relay.mailbaby.net:25 via SMTP AUTH if you prefer to send via a native SMTP client rather than the REST API.

Properties

Name Type Description Notes
id int The unique numeric ID of the mail order. Used as the `id` parameter on sending calls, log queries, and stats queries.
status str The current order status. Only `active` orders can be used for sending. `canceled` orders are retained for history but cannot send.
username str The SMTP AUTH username for this order, always in the format `mb<id>`. Use together with the password from `GET /mail/{id}` to authenticate directly against `relay.mailbaby.net:25` if needed.
comment str Optional human-readable note associated with the order. Only present in the response when the order has a non-empty comment. [optional]
password str The current SMTP AUTH password for this mail order. Use with the `username` field to authenticate against `relay.mailbaby.net:25`.

Example

from openapi_client.models.mail_order_detail import MailOrderDetail

# TODO update the JSON string below
json = "{}"
# create an instance of MailOrderDetail from a JSON string
mail_order_detail_instance = MailOrderDetail.from_json(json)
# print the JSON string representation of the object
print(MailOrderDetail.to_json())

# convert the object into a dict
mail_order_detail_dict = mail_order_detail_instance.to_dict()
# create an instance of MailOrderDetail from a dict
mail_order_detail_from_dict = MailOrderDetail.from_dict(mail_order_detail_dict)

[Back to Model list] [Back to API list] [Back to README]