Incoming and outgoing mail servers are the two systems your email app uses to receive and send messages.
The incoming mail server (IMAP or POP3) downloads or syncs mail to your device, while the outgoing mail server (SMTP) delivers your messages to recipients. Correct servers, ports, and encryption settings ensure reliable, secure email.
Email only works when your app knows where to fetch new messages and where to send them. Here, we’ll demystify the incoming and outgoing mail server settings, explain IMAP vs POP3 and SMTP, share the right ports and encryption, and walk you through setup, testing, and troubleshooting—based on real-world hosting experience.
What Are Incoming and Outgoing Mail Servers?
Every email account uses two servers:

Most hosting providers use hostnames like mail.yourdomain.com, imap.yourdomain.com, or smtp.yourdomain.com. Your username is usually your full email address, and you should use SSL/TLS encryption with authentication enabled.
Incoming Mail Server: IMAP vs POP3
Your incoming mail server handles downloads and synchronization. You’ll choose between IMAP or POP3 during setup.
IMAP (Recommended for Most Users)
POP3 (Legacy/Offline Use Cases)
Outgoing Mail Server: SMTP Explained
SMTP (Simple Mail Transfer Protocol) is used to deliver your messages to your recipient’s mail server. Your outgoing server must require authentication and use encryption to prevent abuse and protect credentials.
Recommended Ports and Encryption (Quick Reference)
Tip: If your provider supports both 587 (STARTTLS) and 465 (SSL/TLS), choose the one they recommend. Many modern hosts default to 587 with STARTTLS for better compatibility.
How to Find Your Mail Server Settings?
Step-by-Step Setup in Popular Email Clients
Information to Gather First
Apple Mail (macOS/iOS)
Microsoft Outlook (Windows/Mac)
Thunderbird
Testing and Verifying Your Mail Servers
Use these commands to confirm connectivity, certificates, and STARTTLS support:
# Test IMAP over TLS
openssl s_client -connect imap.example.com:993 -crlf -quiet
# Test SMTP with STARTTLS (recommended on 587)
openssl s_client -starttls smtp -connect smtp.example.com:587 -crlf -quiet
# Check MX records for your domain
dig +short MX yourdomain.com
# Basic SMTP banner check (if allowed)
telnet smtp.example.com 587
If the certificate’s Common Name (CN) or SAN doesn’t match your server hostname, update your mail client to use the correct host (often the one shown in your hosting control panel) or ask your host to align SSL.
Common Problems and How to Fix Them
“Can Receive but Can’t Send”
SSL/TLS Certificate Errors
Login Failures
Mail Delays or Rejections
Email Security Essentials: SPF, DKIM, DMARC
Deliverability and trust depend on proper DNS authentication. Set these records for your domain:
Together, they reduce spoofing, improve inbox placement, and protect your brand. Many hosts, including QloudHost, provide one-click DKIM and guided SPF/DMARC setup.
Real-World Choices: When to Use IMAP vs POP3
Best Practices for Reliable, Secure Email
How QloudHost Helps?
On QloudHost hosting, secure IMAP/SMTP is enabled by default, AutoSSL keeps certificates fresh, and DKIM is one click.
Our cPanel “Configure Mail Client” page shows exact incoming and outgoing mail server settings, and 24/7 support can help you fix send/receive errors, SPF/DMARC alignment, and client configuration fast.

FAQs: Incoming and Outgoing Mail Server
What should I use for my incoming and outgoing mail server names?
Use the hostnames provided by your host, commonly mail.yourdomain.com for both. Some providers separate by protocol (imap.yourdomain.com and smtp.yourdomain.com). Always match the hostname to the SSL certificate shown in your control panel to avoid certificate warnings.
Should I choose IMAP or POP3 for incoming mail?
Choose IMAP if you use multiple devices or want server-side folders and consistent sync. Choose POP3 only for single-device setups with local archiving and limited server storage. If using POP3, consider “leave a copy on server” to prevent data loss.
What’s the best SMTP port: 587, 465, or 25?
Use 587 with STARTTLS or 465 with SSL/TLS. Avoid 25 for clients—many ISPs block it and it’s intended for server-to-server mail. Ensure “SMTP authentication” is enabled and encryption is set to STARTTLS (587) or SSL/TLS (465).
Why can I receive emails but not send them?
Common causes include using port 25, disabled SMTP authentication, wrong outgoing server/hostname, or blocked ports by your network. Switch to 587 (STARTTLS) or 465 (SSL/TLS), enable authentication, confirm credentials, and check firewall/ISP restrictions.
How do I find my mail server settings in cPanel or Plesk?
In cPanel, go to Email Accounts > Connect Devices (or Configure Mail Client) to see incoming/outgoing servers, ports, and encryption. In Plesk, open Mail > your mailbox > Mail Settings. If unsure, contact your host’s support for the exact details.


Leave a Comment