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.
| 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] |
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)