Webmail allows users to send and receive email using standard email protocols over the Internet. While many people associate webmail with browser‑based access, email clients such as Outlook, Thunderbird, and mobile mail apps rely on the same underlying technologies.
To function correctly, these email services use specific port numbers that enable communication between your device and the mail server. Knowing which ports to use helps ensure secure email delivery and makes troubleshooting much easier.
General Webmail Protocols
Webmail systems typically work using three main protocols:
- IMAP (Internet Message Access Protocol) – Accesses and syncs emails directly from the server
- POP3 (Post Office Protocol Version 3) – Emails are downloaded to a local device via POP3
- SMTP (Simple Mail Transfer Protocol) – Emails are sent out via SMTP
Each protocol operates on defined port numbers, which may be secure or non‑secure.
1. IMAP (Internet Message Access Protocol)
IMAP is widely used because it keeps emails stored on the server and synchronizes them across multiple devices. Any modifications made to one device will be reflected across all devices.
IMAP Webmail Port Numbers
- Port 143 – Standard IMAP (non‑secure)
- Port 993 – IMAP over TLS/SSL (secure and recommended)
Most modern email services require port 993 to ensure encrypted communication.
2. POP3 (Post Office Protocol Version 3)
POP3 archives emails locally after retrieving them from the server. Depending on settings, emails may be deleted from the server after download. This protocol is useful when accessing email from a single device.
POP3 Webmail Port Numbers
- Port 110 – Standard POP3 (non‑secure)
- Port 995 – POP3 over SSL/TLS (secure)
If encryption is available, port 995 should always be utilized.
3. SMTP (Simple Mail Transfer Protocol)
SMTP is responsible for sending outgoing emails. Every email client uses SMTP regardless of whether IMAP or POP3 is used for incoming mail.
SMTP Webmail Port Numbers
- Port 25 – Legacy SMTP (often blocked by ISPs)
- Port 587 – SMTP with authentication (recommended)
- Port 465 – SMTP over SSL/TLS
Port 587 is the preferred SMTP port for most email services today.
Secure vs. Non‑Secure Ports
Email ports categorized based on whether they encrypt data during transmission.
Non‑Secure Webmail Port Numbers
- IMAP: 143
- POP3: 110
- SMTP: 25
These ports transmit data in plain text not recommended.
Secure Webmail Port Numbers
- IMAP: 993
- POP3: 995
- SMTP: 465 or 587
Secure ports use SSL or TLS encryption to protect emails and login credentials.
Why Encryption Matters
Encrypted ports keep sensitive information safe while emails travel over the internet. Using secure connections helps prevent unauthorized access, protects passwords, and reduces the risk of data interception. Most email providers now require encrypted connections for security and compliance reasons.
How to Configure Ports in Your Email Client
When setting up an email account, you typically need to configure:
- Incoming mail protocol and port
- Outgoing mail server and port
- Encryption method (SSL or TLS)
- Authentication credentials
Always follow the port recommendations provided by your email service provider.
Common Webmail Configuration Problems
ISP Blocking SMTP Port 25
Many ISPs block port 25 to prevent spam. Switching to port 587 or 465 usually resolves sending issues.
SSL/TLS Certificate Errors
Errors may occur due to incorrect server names or expired certificates. Using the correct mail server address often resolves this issue.
Blocking Ports by Firewalls or Antivirus
Security software may block email ports. Adding exceptions for your email client helps restore connectivity.
Common Ports Used by Webmail
| Protocol | Non-Secure Port | Secure Port (SSL/TLS) |
| IMAP | 143 (non‑secure) | 993 (secure) |
| POP3 | 110 (non‑secure), | 995 (secure) |
| SMTP | 25 | 587 |
Webmail relies on standard port numbers for sending and receiving email. IMAP and POP3 manage incoming messages, while SMTP handles outgoing mail. Secure ports using SSL or TLS now the standard and should always used whenever possible. Understanding these port numbers ensures secure communication, smooth setup, and faster troubleshooting.
Read more knowledge base about What is POP3 / SMTP Server – Email Protocols Explained