IMAP / POP3 / SMTP Server Settings (Ports and SSL Table)

Updated: 4 December 20264 min read24 viewsMarkdown

To add an account to a mail app you need three things: the incoming server (IMAP or POP3), the outgoing server (SMTP) and their port and encryption settings. This page puts the right values in one table and shows where to find the server hostname for your account.

Three horizontal lanes, each with an envelope icon, a port tag and a padlock
IMAP, POP3 and SMTP each use their own port and encryption.

Where to find your server hostname

The incoming and outgoing hostnames depend on your account and service. We use mail.example.com as an example here; find your own value in:

  • UltraMail: your service activation e-mail and the service details under Client Area > My Services.
  • cPanel hosting: in cPanel, open Email Accounts and click Connect Devices next to the account. That page lists the hostname and ports for your account.
Note

To avoid certificate warnings over SSL, use the hostname you were given exactly. Typing an IP address or a random subdomain can cause certificate errors.

Ports and encryption

ProtocolUsed forRecommended portEncryption
IMAPIncoming mail, synced across devices993SSL/TLS
POP3Incoming mail, downloaded to one device995SSL/TLS
SMTPOutgoing mail465SSL/TLS
SMTP (alternative)Outgoing mail587STARTTLS

The unencrypted ports seen on older setups (IMAP 143, POP3 110, SMTP 25) aren't recommended, because your password may cross the network unprotected. Many internet providers also block port 25 for outgoing mail.

Other settings

  • Username: the full e-mail address, e.g. user@example.com.
  • Password: the mailbox password.
  • Outgoing server authentication: must be on ("My outgoing server requires authentication"), using the same username and password as incoming.
  • Authentication method: if asked, choose "Normal password".

Example configuration

Incoming (IMAP):  mail.example.com   Port 993   SSL/TLS
Outgoing (SMTP):  mail.example.com   Port 465   SSL/TLS
Username:         user@example.com
Password:         your mailbox password

IMAP or POP3?

IMAP keeps mail on the server and syncs read and deleted status across all devices. If you use a phone, a computer and webmail together, IMAP is the right choice.

POP3 downloads mail to one device and usually removes it from the server. It can suit a single computer when you want to save server space, but if that device fails, the mail may be lost.

Mobile sync (ActiveSync)

UltraMail plans support ActiveSync. Choose Exchange as the account type on your phone and your calendar and contacts sync along with your mail. The server address for ActiveSync is also in the activation e-mail and the service details.

Troubleshooting

SymptomLikely causeFix
Inbox works, but sending failsSMTP authentication off or port blockedTurn on authentication; if 465 fails, try 587 with STARTTLS.
Certificate warningHostname mistypedUse the name from the activation e-mail or the Connect Devices page.
Password prompt keeps coming backIncomplete username or wrong passwordUse the full address as the username; test the password in webmail.
Connection times outA network firewall blocks the portTry another network (e.g. mobile data).

Frequently asked questions

Should the incoming and outgoing hostnames be the same?

In most setups they are. If you were given different names, use the values from your activation e-mail as they are.

What's the difference between SSL/TLS and STARTTLS?

SSL/TLS encrypts the connection from the very start. STARTTLS opens a plain connection and then upgrades it to encrypted. Both are secure; pick whichever your app supports.

What settings should my website use to send form e-mails?

Enter the same SMTP settings (hostname, 465 or 587, authentication) in an SMTP plugin. It's more reliable than PHP's default mail function.

See our business e-mail plans on the Business E-mail page. If the settings don't work for you, open a support ticket from the Client Area.

Was this article helpful?
Thank you for your feedback.