Once you have a mailbox on your domain, you can read it in webmail or add it to the mail app on your phone or computer. This guide shows where to find the settings and how to enter them in Gmail on Android, iPhone Mail and Outlook.
On this page
Before you start
- Create the mailbox. See How to Create Email Accounts in cPanel or How to Create an Email Account in DirectAdmin.
- Test it in webmail. Log in at
yourdomain.com/webmailwith the full email address and password. If webmail works, the mailbox is ready.
Find your settings
In cPanel open Email Accounts and click Connect Devices next to the mailbox. The page shows the exact settings for that mailbox. They follow this pattern:
| Setting | Value |
|---|---|
| Username | Your full email address, for example [email protected] |
| Password | The password of that mailbox |
| Incoming server | mail.yourdomain.com |
| Incoming port | IMAP 993 with SSL/TLS |
| Outgoing (SMTP) server | mail.yourdomain.com |
| Outgoing port | 465 with SSL/TLS |
| Outgoing authentication | Required, same username and password |
If Connect Devices shows different values, use the ones shown there. On Standard hosting (DirectAdmin) the settings follow the same pattern.
📘 Choose IMAP, not POP
IMAP keeps your mail on the server, so your phone, your computer and webmail all show the same messages. POP downloads mail to one device and can remove it from the others.
Gmail app on Android
- Open Gmail, tap your profile picture and tap Add another account.
- Tap Other.
- Type your full email address and tap Next.
- Choose Personal (IMAP).
- Type the mailbox password.
- For the incoming server, enter
mail.yourdomain.com. Do the same for the outgoing server. - Tap Next until the account is added.
Mail app on iPhone
- Open Settings, then Mail, then Accounts. On newer versions of iOS it is Settings, Apps, Mail, Mail Accounts.
- Tap Add Account, then Other, then Add Mail Account.
- Enter your name, the full email address and the mailbox password, then tap Next.
- Keep IMAP selected.
- Under both Incoming Mail Server and Outgoing Mail Server, enter the host name
mail.yourdomain.com, the full email address as the user name, and the password. - Tap Next, then Save.
Fill in the outgoing server user name and password even though the iPhone marks them as optional. Without them you can receive mail but not send it.
Outlook on a computer
- Open Outlook and go to File, then Add Account.
- Type your email address, open Advanced options and tick Let me set up my account manually. Click Connect.
- Choose IMAP.
- Enter the incoming and outgoing servers and ports from the table above, with SSL/TLS as the encryption method.
- Type the mailbox password and click Connect.
If it does not connect
- Wrong password: in cPanel open Email Accounts, click Manage next to the mailbox and set a new password. Then test it in webmail.
- Cannot reach the server: if your domain uses Cloudflare, the
mailrecord must be set to DNS only (grey cloud). - Receives but does not send: turn on authentication for the outgoing server and use the same username and password.
- Several failed tries, then nothing works: your IP address may have been blocked. Restart your modem or router, then try again with the correct settings.
For other problems, see Email Not Sending or Arriving? Here Is What to Check.

