> ## Documentation Index
> Fetch the complete documentation index at: https://ayakaleaf-pro.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 多個電子郵件

> 為帳號新增另一個電子郵件，並在某個地址被收回之前將帳號移轉到該電子郵件。

> [!NOTE]
>
> 此功能由 [ayaka-notes/ayakaleaf-pro](https://github.com/ayaka-notes/ayakaleaf-pro) 開發，自 v6.4.0 起提供。

一個帳號可以有多個電子郵件。當某個地址即將被收回時（例如畢業後的學校信箱），新增一個電子郵件，就能保留你的帳號與專案。

當你的執行個體可以寄送電子郵件時，會顯示電子郵件清單。否則，設定頁面只有一個電子郵件欄位。

**1. 開啟你的電子郵件**

點選 **Account**，再點選 **Account settings**。你的電子郵件位於 **Emails and affiliations** 下。

![Emails and affiliations 區段，包含一個主要電子郵件與 Add another email 連結](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-list.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=1023110906f472c4216b5d1f8524e92d)

你的電子郵件

**2. 新增電子郵件**

點選 **Add another email**，輸入地址並點選 **Add new email**。

![填有新地址與 Add new email 按鈕的表單](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-add.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=569e247794d037030a4c37c406d095eb)

新增電子郵件

**3. 輸入驗證碼**

系統會寄送 6 位數驗證碼到新地址。輸入驗證碼並點選 **Confirm**。如果沒有收到，請點選 **Resend confirmation code**。

![要求輸入 6 位數驗證碼的 Confirm your email address 表單](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-code.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=1a57176409611ea0250c57db280a2fb5)

確認新電子郵件

該電子郵件現在已出現在你的清單中，你的主要電子郵件會收到已新增該電子郵件的通知。

![包含主要電子郵件與附有 Make primary 按鈕的新電子郵件的清單](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-added.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=2f3f0229df45ffe971b96f06243db85d)

清單中的新電子郵件

**4. 設為主要電子郵件**

點選新電子郵件旁的 **Make primary**，再點選 **Change primary email**。

![附有 Change primary email 按鈕的 Confirm primary email change 對話方塊](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-make-primary.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=4e81d2d70b11e6a8a4188e46e0b75fa8)

確認變更

從現在起，請使用新電子郵件登入。舊電子郵件仍保留在清單中。

![新電子郵件為主要電子郵件、舊電子郵件位於其下方的清單](https://mintcdn.com/ayakaleaf-pro/mlmwh-cFnbQQR2c-/images/on-premises/multiple-emails-primary-changed.png?fit=max\&auto=format\&n=mlmwh-cFnbQQR2c-\&q=85\&s=da27d6a745d8ba5b962b7e0ae5181b39)

新的主要電子郵件

## 每個電子郵件能做什麼

* 只有主要電子郵件可以登入並接收密碼重設郵件。次要電子郵件兩者都不行，因此之後被分配給他人的地址無法接管你的帳號。
* 請在舊信箱關閉前點選 **Make primary**。之後只有管理員可以變更你的電子郵件。
* 你已驗證的舊主要電子郵件會保留為次要電子郵件。從未驗證過的電子郵件會在其他電子郵件成為主要電子郵件時被移除。
* 若要移除次要電子郵件，請點選其垃圾桶圖示。之後其他帳號就可以新增該地址。
* 屬於其他帳號的地址無法新增。
* 在使用 LDAP 或 SAML 登入的執行個體上，你可以新增電子郵件，但 **Make primary** 會被拒絕，因為你將無法再以新電子郵件登入。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.