Guide · Microsoft Outlook · 22/11/2026

Setting up IMAP and POP3 email in Microsoft Outlook (2016, 2019, 2021, 365)

How to add a domain email account to each version of Outlook: 365, 2024, 2021, 2019, 2016 and the new Outlook.

← All support articles

The add-account screens differ between Outlook versions. Pick the version you use below. Every version uses the same recommended connection settings.

Recommended settings

Recommended protocolIMAP (syncs across devices)
Incoming servermail.hainhan.com · port 993 · SSL/TLS
Outgoing server (SMTP)mail.hainhan.com · port 465 (SSL/TLS) or 587 (STARTTLS)
If your provider blocks portsUse port 2525 with STARTTLS
User nameYour full email address
SMTP authenticationOn, with the same user name and password

Pick your version

Microsoft 365 and Outlook 2024

The classic Outlook that comes with Microsoft 365, or Outlook 2024 bought on its own. It has the modern add-account dialog and supports IMAP and POP.

  1. Start adding an accountIn Outlook choose File > Add Account.
  2. Choose manual setupEnter your email address, open Advanced options, tick “Let me set up my account manually” and click Connect.
  3. Choose IMAPOn the account type screen choose IMAP (or POP if you prefer).
  4. Enter the settingsEnter the incoming server mail.hainhan.com, port 993, SSL/TLS encryption. Outgoing server mail.hainhan.com, port 465 (SSL/TLS) or 587 (STARTTLS). The user name is your full email address, with the mailbox password.
  5. Enter the passwordClick Next, type the mailbox password and click Connect.
  6. FinishWhen Outlook reports success, click Done. Send a test message to check.
If you see a “Try the new Outlook” switch at the top right, turn it off to stay on classic Outlook, or see the “New Outlook for Windows” section.
Outlook 2021

The one-time-purchase edition, with the same add-account dialog as Microsoft 365.

  1. Start adding an accountIn Outlook choose File > Add Account.
  2. Choose manual setupEnter your email address, open Advanced options, tick “Let me set up my account manually” and click Connect.
  3. Choose IMAPOn the account type screen choose IMAP (or POP if you prefer).
  4. Enter the settingsEnter the incoming server mail.hainhan.com, port 993, SSL/TLS encryption. Outgoing server mail.hainhan.com, port 465 (SSL/TLS) or 587 (STARTTLS). The user name is your full email address, with the mailbox password.
  5. Enter the passwordClick Next, type the mailbox password and click Connect.
  6. FinishWhen Outlook reports success, click Done. Send a test message to check.
Outlook 2019

Outlook 2019 has the newer add-account dialog. Microsoft ended support for Office 2019 on 14 October 2025, so consider upgrading.

  1. Start adding an accountIn Outlook choose File > Add Account.
  2. Choose manual setupEnter your email address, open Advanced options, tick “Let me set up my account manually” and click Connect.
  3. Choose IMAPOn the account type screen choose IMAP (or POP if you prefer).
  4. Enter the settingsEnter the incoming server mail.hainhan.com, port 993, SSL/TLS encryption. Outgoing server mail.hainhan.com, port 465 (SSL/TLS) or 587 (STARTTLS). The user name is your full email address, with the mailbox password.
  5. Enter the passwordClick Next, type the mailbox password and click Connect.
  6. FinishWhen Outlook reports success, click Done. Send a test message to check.
If your build shows the older dialog (with “Manual setup or additional server types”), follow the Outlook 2016 steps.
Outlook 2016

Uses the classic account wizard. Microsoft ended support for Office 2016 on 14 October 2025; email still works but upgrading is safer.

  1. Open the account wizardChoose File > Info > Add Account.
  2. Choose manual setupChoose “Manual setup or additional server types” and click Next.
  3. Choose POP or IMAPChoose “POP or IMAP” and click Next.
  4. Enter the user informationEnter your display name, email address, account type IMAP (or POP3), and mail.hainhan.com as the incoming and outgoing server. The user name is your full email address.
  5. Turn on outgoing authenticationClick More Settings, open the Outgoing Server tab, tick “My outgoing server (SMTP) requires authentication” and use the same settings as the incoming server.
  6. Set ports and SSLOn the Advanced tab: incoming port 993 (IMAP) or 995 (POP3) with SSL/TLS; outgoing port 465 with SSL/TLS or 587 with STARTTLS (use 2525 with STARTTLS if blocked). Click OK.
  7. Test and finishClick Next so Outlook tests the connection, then Close and Finish.
Some recent 2016 builds already show the newer add-account dialog: if so, follow the Outlook 2019 steps.
Outlook 2013

An older version that is no longer supported. The steps match Outlook 2016.

  1. Open the account wizardChoose File > Info > Add Account.
  2. Choose manual setupChoose “Manual setup or additional server types” and click Next.
  3. Choose POP or IMAPChoose “POP or IMAP” and click Next.
  4. Enter the user informationEnter your display name, email address, account type IMAP (or POP3), and mail.hainhan.com as the incoming and outgoing server. The user name is your full email address.
  5. Turn on outgoing authenticationClick More Settings, open the Outgoing Server tab, tick “My outgoing server (SMTP) requires authentication” and use the same settings as the incoming server.
  6. Set ports and SSLOn the Advanced tab: incoming port 993 (IMAP) or 995 (POP3) with SSL/TLS; outgoing port 465 with SSL/TLS or 587 with STARTTLS (use 2525 with STARTTLS if blocked). Click OK.
  7. Test and finishClick Next so Outlook tests the connection, then Close and Finish.
Outlook 2013 may fail to connect when TLS 1.2 or newer is required. Use Webmail or upgrade Outlook in that case.
Outlook 2010 and 2007

Very old versions; the steps are the same, only the menu that opens the wizard differs.

  1. Open the account wizardChoose File > Info > Add Account (Outlook 2010), or Tools > Account Settings > New (Outlook 2007).
  2. Choose manual setupChoose “Manual setup or additional server types” and click Next.
  3. Choose POP or IMAPChoose “POP or IMAP” and click Next.
  4. Enter the user informationEnter your display name, email address, account type IMAP (or POP3), and mail.hainhan.com as the incoming and outgoing server. The user name is your full email address.
  5. Turn on outgoing authenticationClick More Settings, open the Outgoing Server tab, tick “My outgoing server (SMTP) requires authentication” and use the same settings as the incoming server.
  6. Set ports and SSLOn the Advanced tab: incoming port 993 (IMAP) or 995 (POP3) with SSL/TLS; outgoing port 465 with SSL/TLS or 587 with STARTTLS (use 2525 with STARTTLS if blocked). Click OK.
  7. Test and finishClick Next so Outlook tests the connection, then Close and Finish.
These versions are no longer supported and may not handle current encryption. Upgrading is strongly recommended.
New Outlook for Windows

The new Outlook app (web-style interface, with a toggle at the top right). Accounts are added in Settings.

  1. Open the account settingsClick the gear icon (Settings), then choose Accounts > Email accounts.
  2. Add the accountClick Add account, enter your email address and click Continue.
  3. Choose IMAP if askedIf Outlook cannot detect the settings, choose IMAP (or POP) and enter them manually.
  4. Enter the settingsEnter the incoming server mail.hainhan.com, port 993, SSL/TLS encryption. Outgoing server mail.hainhan.com, port 465 (SSL/TLS) or 587 (STARTTLS). The user name is your full email address, with the mailbox password.
  5. FinishClick Continue and let Outlook sync. Send a test message to check.
If the new Outlook will not let you enter settings manually, switch back to classic Outlook or use Webmail.
Outlook for Mac

For Outlook on macOS.

  1. Open the accountsIn Outlook choose Outlook > Settings (or Preferences) > Accounts.
  2. Add the accountClick +, choose New Account, enter your email address and click Continue.
  3. Choose IMAP/POPWhen asked for the account type, choose IMAP/POP.
  4. Enter the settingsEnter the incoming server mail.hainhan.com, port 993, SSL/TLS encryption. Outgoing server mail.hainhan.com, port 465 (SSL/TLS) or 587 (STARTTLS). The user name is your full email address, with the mailbox password.
  5. FinishClick Add Account. Send a test message to check.
If you choose POP3, use port 995 (SSL/TLS) and keep a copy of messages on the server if you read mail on several devices. Need more help? Call the hotline 098-155-3073 (24 hours a day, 365 days a year).

← All support articles

Contact Hải Nhân

Call us (24 hours a day, 365 days a year)

098-155-3073
Contact