Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.77 KB

File metadata and controls

33 lines (24 loc) · 1.77 KB

MailOrder

A mail service order record. Each order represents one provisioned sending account with a dedicated SMTP username. The id is the numeric identifier used across most API calls. The username is always mb<id> and is the SMTP AUTH username for relay.mailbaby.net.

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]

Example

from openapi_client.models.mail_order import MailOrder

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

# convert the object into a dict
mail_order_dict = mail_order_instance.to_dict()
# create an instance of MailOrder from a dict
mail_order_from_dict = MailOrder.from_dict(mail_order_dict)

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