api.mail

概览

您所附加域名上的邮箱: 接收并发送的地址, 由域名自己的密钥签名 。

5 methodsthe plan decides how manya host must be enabled first
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

调用功能
({ 创建地址, 名称} )创建邮箱 。
(列表)账户的每个信箱
(二) 获得(id)依标识符 以地址.
(使用)计划允许什么,在你尝试之前
删除( id)删除。
联系人地址簿

命令顺序

const domain = await api.domains.get("example.com");
await domain.mail.enable();                       // 1. the host's records

const box = await api.mail.create({ address: "hello@example.com", name: "Hello" });
await box.send({ to: "someone@example.net", subject: "Hi", text: "…" });
domain = api.domains.get("example.com")
domain.mail.enable()                       # 1. the host's records

box = api.mail.create(address="hello@example.com", name="Hello")
box.send(to=["someone@example.net"], subject="Hi", text="…")

信箱无法存在于未启用的主机: 创建答案 mail_not_enabled,命名主机 缺少。

尝试之前先读一下计划

最大邮箱: 0 表示计划根本没有邮件

读取使用()时, 而不是测试计划的名称—— 计划改变的那一天, 应该是谎言的页。 零是一个显示的限度, 而不是一个无法发现的终点 。

保留了某些名字

网域的地址不会作为普通信箱提供,

邮箱没有自己的配额

它消耗账户的物品储存, quotaBytes 过了这个配额, 交货被拒绝了, 除了你发送的复印件, 上面描述了一个已经删除的信息。