管理別名
以「傳送代替」別名代表帳戶可傳送郵件的電子郵件地址。每個帳戶都至少會有一個別名,用來代表帳戶的主要電子郵件地址。
寄件者別名對應至網頁介面中的「選擇寄件地址」功能。
別名也可用於管理帳戶的簽名。您必須對「傳送代號」有基本瞭解,才能變更電子郵件簽名。以上影片說明如何循環處理以「傳送者」為別名的電子郵件地址,並修改使用者的主要電子郵件地址簽名。
如要瞭解如何建立、列出、取得、更新或刪除別名,請參閱 SendAs
參考資料。
建立及驗證別名
您必須先建立別名,才能使用這些別名。在某些情況下,使用者也必須驗證別名的擁有權。
如果 Gmail 要求使用者驗證別名,系統會傳回別名,並附上狀態 pending
。系統會自動將驗證郵件傳送至目標電子郵件地址。電子郵件地址的擁有者必須完成驗證程序,才能使用該電子郵件地址。
不需要驗證的別名,其驗證狀態為 accepted
。
如有需要,請使用 verify 方法重新傳送驗證要求。
SMTP 設定
外部地址的別名應透過遠端 SMTP 郵件傳送代理程式 (MSA) 傳送郵件。如要為別名設定 SMTP MSA,請使用 smtpMsa
欄位提供連線詳細資料。
管理簽名
您也可以為每個別名設定電子郵件簽名。例如,如要為使用者的主要地址設定簽名:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-01-15 (世界標準時間)。
[null,null,["上次更新時間:2025-01-15 (世界標準時間)。"],[[["Send-as aliases allow an email account to send mail from multiple addresses, including a primary email address and additional aliases."],["Aliases can be managed through the Gmail API and are necessary for configuring email signatures."],["Verification is required for some aliases, ensuring the user owns the address before it can be used for sending mail."],["SMTP settings are utilized for aliases associated with external email addresses to facilitate sending mail through a remote mail server."],["Email signatures can be customized for each alias, including the primary email address, providing flexibility in email communication."]]],[]]