邮箱邮箱

update()

mailbox.update({ name?, catchAll?, image?, signature? }) → Promise<Mailbox>

更改显示名称、 全部抓取、 图片或签名。 只碰过所经过的 。

PATCHimage: null returns to the account'ssignature is sanitised
Using Python?

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

await box.update({ name: "Support" });
await box.update({ image: { data: bytes, type: "image/png" } });   // its own picture
await box.update({ image: null });                                  // back to the account's
await box.update({ signature: { html: "<p>Support — example.com</p>", image: true } });
await box.update({ signature: null });                              // remove it
box.update(name="Support")
box.update(image={"data": png_bytes, "type": "image/png"})   # its own picture
box.update(image=None)                                        # back to the account's
box.update(signature={"html": "<p>Support — example.com</p>", "image": True})
box.update(signature=None)                                    # remove it
namestring

显示名称 。

catchAllboolean

这里的宿主地上未知的地址 。

imageobject|null

{ data, type }. null 返回到账户照片 - 缩写.

signatureobject|null

{ html, image }. image: true 内嵌邮箱图片 。

情况

data 需要字节、 base64 或完整数据地址。最多两个兆字节,以通常的图像格式。设置 null 返回账户的照片,这是明智的默认,而不是空的。

账户照片被复制到账户自己的存储处,而不是从何处发来的——一页不应靠第三方来决定一个圈子,外部任何方面都不得知道客户多久看一次他们的邮件。

签名已写入清扫

没有脚本、 没有处理器、 没有背景图像

签名中的背景图像是客户发送的每条信息中的一种跟踪像素。 HTML 保存时,将降为允许的集合,而不是使用时。

图像: 图片如何到达收件人, 真实的为图像如何到达收件人

它在信件中运行而不是被取走,所以它显示没有“装入远程图像 ” 。 信息中没有任何东西控制收件人客户在发件人姓名旁边画的圆圈—— 签名是您控制的部分。

全部目标都有限制

它只存在于顶点。在子域,它被拒绝,而不是作为设置被存储,所以不适用。