Key takeaways
- Use IMAP 993, POP3 995 and SMTP 465 or 587.
- Avoid unencrypted ports 143 and 110.
- Port 25 is for server-to-server mail and is often blocked.
Email apps connect to your mail server on specific ports. Using the wrong one is the most common reason an account “won’t connect”.
The ports to use
| Protocol | Purpose | Port | Encryption |
|---|---|---|---|
| IMAP | Read mail, synced across devices | 993 | SSL/TLS |
| POP3 | Download mail to one device | 995 | SSL/TLS |
| SMTP (submission) | Send mail from an app | 465 | SSL/TLS |
| SMTP (submission) | Send mail from an app | 587 | STARTTLS |
| SMTP (relay) | Server-to-server delivery | 25 | Opportunistic |
SSL/TLS vs STARTTLS
- SSL/TLS (implicit) encrypts the connection from the first byte — ports 993, 995 and 465.
- STARTTLS starts unencrypted and upgrades to encryption — port 587.
Both are secure when configured correctly. The unencrypted ports 143 (IMAP) and 110 (POP3) send passwords in clear text and shouldn’t be used.
Why not port 25?
Port 25 is for servers delivering mail to each other. Many internet providers and cloud platforms block outbound port 25 from ordinary connections to stop spam. Email apps should always send on 465 or 587 with authentication.
IMAP or POP3?
Choose IMAP. It keeps mail on the server, so your phone, laptop and webmail all show the same folders. POP3 downloads and often deletes messages from the server, which makes multi-device use painful.