api.mail

get()

api.mail.get(id) → Promise<Mailbox>

以其识别码或地址—— 获取( "hello@" )example.com" () 工程。

id or addressfree404 if unknown
Using Python?

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

const box  = await api.mail.get("hello@example.com");
const same = await api.mail.get(box.id);
box = api.mail.get("hello@example.com")
same = api.mail.get(box.id)
发言是有用的部分

信箱的地址是每个地方的地址, 人类都指向它。 首先必须查找识别符号, 这将是一无是处的一步。

读为

usedBytes, quotaBytes 其余是平台现在拥有的——比早先所列出的清单中的最新一张照片。

以白昼的经和别有用的化化,

const box = await api.mail.get("hello@example.com");

await box.messages.list({ folder: "inbox" });
await box.aliases.add("hi@example.com");
box = api.mail.get("hello@example.com")

box.messages.list(folder="inbox")
box.aliases.add("hi@example.com")

化名不能在这里解决

异名是地址 陆地 邮箱中; 邮箱用自己的地址识别。 查看 : aliasList 放在你手里的邮箱上。