AutoForwarding
JSON 表示法 |
{
"enabled": boolean,
"emailAddress": string,
"disposition": enum (Disposition )
} |
字段 |
enabled |
boolean
是否将收到的所有邮件自动转发到其他地址。
|
emailAddress |
string
所有传入邮件都会转发到的电子邮件地址。此电子邮件地址必须是转发地址中经过验证的成员。
|
disposition |
enum (Disposition )
邮件在转发后应保留的状态。
|
Disposition
枚举 |
dispositionUnspecified |
未指定的处理方式。 |
leaveInInbox |
请在INBOX 中留言。 |
archive |
归档邮件。 |
trash |
将该消息移至 TRASH 。 |
markRead |
将消息保留在INBOX 中,并将其标记为已读。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-09-05。
[null,null,["最后更新时间 (UTC):2024-09-05。"],[[["Auto-forwarding settings allow you to automatically forward all incoming mail to a specified, verified email address."],["You can choose whether to leave the original email in your inbox, archive it, move it to trash, or mark it as read after forwarding."],["The settings are controlled by three fields: `enabled` (to turn on/off), `emailAddress` (the forwarding destination), and `disposition` (how the original email is handled)."]]],["The provided content outlines the auto-forwarding settings for an email account. Key actions include enabling/disabling forwarding via a boolean, specifying the `emailAddress` to forward messages to, and determining the message's `disposition` after forwarding. The `disposition` can be one of `dispositionUnspecified`, `leaveInInbox`, `archive`, `trash`, or `markRead`, defining how the forwarded message is handled in the original mailbox. The forwarding address needs verification. The format for these settings is represented in JSON.\n"]]