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 中,並標示為已讀。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[null,null,["上次更新時間: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"]]