# 在Gmail或Outlook.com使用Office Niaga电邮

> 在Gmail用Office Niaga地址发电邮、在Gmail接收电邮，或把旧电邮从Gmail搬到Office Niaga Mail。
>
> Source: https://docs.officeniaga.com/zh/gmail-outlook-com/

Office Niaga Mail和Gmail一起使用，常见的方法有三种。选择你需要的那一种。

## 在Gmail用Office Niaga地址发电邮

你从Gmail发出的电邮，发件人会显示你的公司电邮地址。

1. 在Gmail点击右上角的**Settings**图标，然后点击**See all settings**。

   *(Screenshot: Gmail里的Settings)*

2. 点击**Accounts and Import**标签。在**Send mail as**下面，点击**Add another email address**。

   *(Screenshot: Add another email address)*

3. 输入你的名字和Office Niaga电邮地址。

   *(Screenshot: 输入你的电邮地址)*

4. 填写服务器资料：
   - **SMTP Server**：`mail.officeniaga.com`
   - **Port**：**465**
   - **Username**和**Password**：你完整的Office Niaga电邮地址和密码
   - 选择**Secured connection using SSL**

   *(Screenshot: SMTP设置)*

5. Google会把验证码发到你的Office Niaga电邮。输入验证码，然后点击**Verify**。

   *(Screenshot: 输入验证码)*

6. 在**Send mail as**下面检查你的设置。

   *(Screenshot: Send mail as设置)*

## 在Gmail接收Office Niaga电邮

Gmail已经不能再用POP从其他账号收取电邮。你可以改在Office Niaga Mail设置电邮转发，把每封电邮的副本发到你的Gmail。请看[Forward email and autoresponder](/zh/forwarding-autoresponder/)。

如果你只想在手机上看电邮，可以用IMAP把账号直接添加到Android的Gmail App，请看[在Android手机设置电邮](/zh/android/)。

## 从Gmail搬移旧电邮

用Office Niaga Mail的**Mailbox Migration**，通过IMAP把旧电邮从Gmail复制过来。它只复制电邮。如果要搬移Gmail联系人，请看[Import contacts](/zh/import-contacts/)。

1. **在你的Google账号里**：开启**2-Step Verification**，然后在[myaccount.google.com/apppasswords](https://myaccount.google.com/apppasswords)创建**App Password**。复制这个16个字符的密码。你平时的Gmail密码在这里不能用。
2. [登录Webmail](/zh/log-in/)，然后点击**Settings**。

   *(Screenshot: Settings图标)*

3. 点击**Connectivity**。在**Mailbox Migration**卡片里，点击**Migrate**。

   *(Screenshot: Connectivity和Migrate按钮)*

4. 服务列表里没有Gmail，所以点击**Other**。然后填写：
   - **Server Address**：`imap.gmail.com`
   - **Type**：**IMAP**
   - **Port**：**993**
   - **Email Address**：你的Gmail地址
   - **Password**：你刚才创建的**App Password**
   - 开启**Require SSL**。保持**Delete existing SmarterMail mailbox items**关闭，否则你Office Niaga邮箱里现有的电邮会被删除。

   点击**Start**。

   *(Screenshot: Mailbox Migration里的Other，已填入Gmail地址和App Password，以及Start按钮)*

完成后，你的旧电邮就会出现在Office Niaga Mail里。

## Outlook.com & Hotmail

如果你的Outlook.com账号还有添加其他账号的选项（**Settings**、**Sync email**、**Other email accounts**），请使用以下手动设置：

- **Incoming (POP)**：`mail.officeniaga.com`，端口**995**，**SSL/TLS**
- **Outgoing (SMTP)**：`mail.officeniaga.com`，端口**465**，**SSL/TLS**

> **Caution**
> 请勿使用旧教程里的设置（没有加密的端口110和端口25）。这样你的密码会在没有保护的情况下发送。Microsoft也经常更改Outlook.com的菜单，所以不是每个账号都有这个选项。

## 还有问题？

请通过WhatsApp联系我们的支持团队：[+60 16-916 3324](https://wa.me/60169163324)。

## 常见问题

### 旧的教程说要在Gmail用“Add an email account”收取电邮，为什么现在找不到了？

Google已停止让Gmail用POP从其他账号收取电邮。请在Office Niaga Mail设置电邮转发，把每封电邮的副本发到Gmail，详情请看在Gmail接收Office Niaga电邮这一部分。

### 密码明明是对的，为什么从Gmail搬电邮还是失败？

Google不允许其他App使用你平时的Gmail密码。请在你的Google账号里创建App Password，改用这个密码，详情请看从Gmail搬移旧电邮这一部分。

### Gmail要求输入“Send mail as”的验证码，怎么办？

Google会把验证码发到你的Office Niaga电邮地址。请登录Webmail (/zh/log-in/)，复制验证码，然后在Gmail输入。
