# How to set up hosting email in Outlook: IMAP/SMTP server, port and SSL settings

https://www.gyrohosting.com/en/knowledgebase/article/outlook-hosting-email-setup

- **What you will learn**: How to find the server name and ports for Outlook in cPanel, add the account to Outlook manually as IMAP, the difference between IMAP and POP3, and how to fix connection errors.
- **Time**: 8 minutes

## 1. Why check cPanel first?

Outlook needs three things from you: the **server name**, the **port** and the **encryption type**. Do not guess them; they depend on the server your hosting account is on. The **Connect Devices** page in cPanel shows the real settings for your account in one box. Using the server name from that page also avoids certificate warnings on secure connections.

## 2. Get the real settings from Connect Devices

1. Open **Email Accounts** in cPanel (B21).
2. Click **Connect Devices** on the row of the account you want to set up.

![To see the setup details, click Connect Devices on the account's row.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B23-01-en.webp)

1. On the **Set Up Mail Client** page, scroll down to the **Secure SSL/TLS Settings (Recommended)** box.
2. Note the details in the box:
  - **Username:** your full email address.
  - **Password:** the email account's password (not shown on the page).
  - **Incoming Server:** the server name; **IMAP Port: 993**, **POP3 Port: 995**.
  - **Outgoing Server:** the server name; **SMTP Port: 465**.
3. The note under the box says IMAP, POP3 and SMTP require authentication: in Outlook, the outgoing server uses the same username and password.

![The Secure SSL/TLS Settings box shows the real server name and ports to enter in Outlook.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B23-02-en.webp)

> **Caution**
> 
> The **Show Non SSL/TLS Settings** link shows unencrypted settings. With them your password crosses the network in plain text; do not use them.

The **Mail Client Automatic Configuration Scripts** table at the top of the same page has auto-configuration links for some apps. For older Outlook versions (2007, 2010) it lists an **Auto Discovery** link. For current Outlook versions, the manual setup below is the most reliable route.

![Auto Discovery links for older Outlook versions are also in this table.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B23-03-en.webp)

## 3. Add it manually to classic Outlook (Windows)

These steps are for classic Outlook in Microsoft 365, 2021, 2019 and 2016. Menu names may differ slightly between versions.

1. In Outlook, open the **File** menu at the top left and click **Add Account**.
2. Type your email address. Open **Advanced options**, tick **Let me set up my account manually** and click **Connect**.
3. Choose **IMAP** as the account type.
4. Under **Incoming mail**, enter the server name, port **993**, encryption method **SSL/TLS**.
5. Under **Outgoing mail**, enter the same server name, port **465**, encryption method **SSL/TLS**.
6. Click **Next**, enter the email account's password and click **Connect**.
7. When you see "Account successfully added", click **Done**. Your folders sync within a few minutes.

![The five steps to add the account manually as IMAP in classic Outlook.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B23-04-en.webp)

**Settings table** (take the server name from your own Connect Devices page; `server.ornekfirma.com` in this example):

| Setting | Value |
| --- | --- |
| Account type | IMAP (recommended) or POP3 |
| Username | full email address, e.g. `info@ornekfirma.com` |
| Incoming server, IMAP | `server.ornekfirma.com`, port **993**, **SSL/TLS** |
| Incoming server, POP3 | `server.ornekfirma.com`, port **995**, **SSL/TLS** |
| Outgoing server, SMTP | `server.ornekfirma.com`, port **465**, **SSL/TLS** (alternative: **587**, **STARTTLS**) |
| Outgoing server authentication | On, same username and password as incoming |

![Settings table for Outlook and other mail apps; take the server name from your own Connect Devices page.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B23-05-en.webp)

> **Note**
> 
> Some corporate networks and internet providers block port 465. If sending fails with "cannot connect to server", change the outgoing port to **587** and encryption to **STARTTLS**, then try again.

## 4. New Outlook and Outlook for Mac

- **New Outlook (Windows):** go to **Settings** → **Accounts** → **Email accounts** → **Add account**. After typing your address, choose **IMAP** as the provider and enter the settings from the table. If the detailed fields are hidden, open **Show more**.
- **Outlook for Mac:** **Outlook** menu → **Settings** → **Accounts** → **+** → **New Account**, enter your address, choose IMAP and use the same table.

If you also want calendars and contacts in Outlook, this IMAP account is not enough; see guide B10 for CalDAV/CardDAV.

## 5. IMAP or POP3?

|  | IMAP | POP3 |
| --- | --- | --- |
| Where is mail kept? | On the server; every device sees the same mailbox | Downloaded to the computer |
| Several devices | Suitable: read, deleted and folders match everywhere | Not suitable: each device keeps its own copy |
| Quota | Counts against the mailbox on the server | Frees quota if downloaded mail is removed from the server |
| Our advice | For most users | Only for a single computer with a local archive |

The notes on the Connect Devices page explain the same difference: IMAP coordinates with the server, POP3 does not.

## 6. Check

- Send a short test message from Outlook to your own address; it should arrive in the Inbox within seconds.
- Log in to Webmail (B22) and find the same message. With IMAP, a message you read in Outlook also shows as read in Webmail.

## 7. Common problems

| Symptom | Cause | Fix |
| --- | --- | --- |
| Outlook keeps asking for the password | Username incomplete (just "info") or wrong password | Use the full address as the username; reset the password on the **Manage** page in cPanel. |
| Certificate (security) warning | A different server name was used, such as `mail.yourdomain.com` | Use the server name from the Connect Devices page exactly. |
| Mail arrives but cannot be sent | Outgoing authentication off, or port 465 blocked | Turn on outgoing server authentication; try 587 + STARTTLS. |
| "Cannot connect to server" | Wrong port or encryption type | 993 and 465 must use SSL/TLS. |
| Mail deleted on the phone is still in Outlook | The account was set up as POP3 | Remove the account and add it again as IMAP (back up local mail first). |
| Mailbox full warning | Quota reached | Free up space with B28 or raise the quota. |

## 8. Frequently asked questions

**What are the incoming and outgoing server addresses for Outlook?**

The server name shown on cPanel → **Email Accounts** → **Connect Devices**. It depends on the server your account is on; use the name from that page.

**Which ports should I use?**

IMAP 993, POP3 995 and SMTP 465, all with SSL/TLS. If 465 is blocked, use 587 with STARTTLS for SMTP.

**What should the username be?**

Your full email address, e.g. `info@ornekfirma.com`.

**What happens if I change my password after setting up Outlook?**

Outlook cannot connect and asks for the password. Just enter the new one.

**How do I send the settings to someone else?**

Type an address in the **Email Instructions** section of the Connect Devices page and click **Send**; the setup details go to that address (the password is not sent).

**Will calendars and contacts appear in Outlook too?**

IMAP syncs email only. For calendars and contacts, follow the CalDAV/CardDAV setup in guide B10.

> **Did you know?**
> 
> If your whole team relies on Outlook for shared calendars, contacts and instant sync, Business Mail, a separate product from hosting email, may be more convenient. We compare the plans in guide G01.

## Related guides

- B21: Creating an email account in cPanel
- B24: Setting up email on iPhone and Android
- B25: Using hosting email from Gmail
- B10: Syncing calendars and contacts (CalDAV/CardDAV)
- B30: My email was not delivered: Track Delivery
