Categories: HostKarle Support

IMAP Port Number: IMAP, POP3 and SMTP Settings

The imap port number is usually 993 when your email app uses SSL/TLS, while the older IMAP port is 143. For a complete mailbox setup, use POP3 port 995 with SSL/TLS, or SMTP port 465 with SSL/TLS or 587 with STARTTLS.

Port numbers at a glance

Use this table when an email app asks for incoming and outgoing server values. The secure choices are the normal starting point for a new mailbox; use 143 or 110 only when your email provider specifically tells you to use STARTTLS or another supported mode.

JobProtocolPortSecurity settingWhat it does
Receive and sync mailIMAP993SSL/TLSKeeps mail and folders synchronised across devices
Receive and sync mailIMAP143STARTTLS, if supportedStarts on the standard IMAP port and upgrades the connection
Download mailPOP3995SSL/TLSDownloads messages to an email app
Download mailPOP3110STARTTLS, if supportedLegacy POP3 connection that can upgrade to TLS
Send mail from an appSMTP submission465SSL/TLSEncrypts the connection immediately
Send mail from an appSMTP submission587STARTTLS/TLSConnects first, then negotiates encryption
Mail transfer between serversSMTP25Server policy and TLSUsed for SMTP transfer, not normally for a person’s mailbox app

The IANA service and port registry records the assigned services. The IETF’s RFC 8314 documents implicit TLS on 993, 995 and 465, and explains the role of STARTTLS on 587.

Port numbers are not passwords or DNS records. They are TCP connection doors that tell the app which mail service to contact. A correct server name with the wrong port can fail just as surely as a wrong password.

IMAP vs POP3: which should you use?

IMAP and POP3 are both incoming-mail protocols, but they behave differently after a message reaches your inbox.

IMAP keeps devices in sync

IMAP normally leaves messages on the mail server and synchronises the mailbox with each connected app. If a shop checks orders@yourdomain.tld on a phone and a computer, both devices can show the same inbox, read status, folders and sent messages.

Choose IMAP when:

  • more than one person or device needs to see the same mailbox;
  • you want to read a message on your phone and find it already marked read on your computer;
  • you use folders, drafts and Sent items from different devices;
  • you want the mailbox to remain available through webmail as well as an app.

The preferred secure IMAP setup is port 993 with SSL/TLS. Port 143 can support STARTTLS when the mail service offers it, but do not select plain or unencrypted access just because an app lists it.

POP3 downloads mail to an app

POP3 is designed mainly to retrieve messages to one email client. Depending on the client setting, it may download messages and leave a copy on the server, or remove them after download. It does not provide the same multi-device folder and read-status synchronisation as IMAP.

POP3 can make sense when one computer is the main place where you handle a mailbox and you deliberately want local downloads. If a shop uses one address on a phone and PC, IMAP is usually easier to manage because the mailbox remains one shared view.

The secure POP3 setup is port 995 with SSL/TLS. If you choose POP3, look for a setting such as Leave a copy on the server before downloading mail from a second device. That setting helps prevent one app from taking messages away from the other app, but it does not turn POP3 into full IMAP synchronisation.

The newer IMAP4rev2 specification describes 143 as the cleartext/STARTTLS port and 993 as the implicit-TLS port. The important practical rule is simple: use IMAP for shared, synchronised access and POP3 for a deliberate single-client download workflow.

SMTP ports: 465 vs 587 vs 25

SMTP is the outgoing side of email. Your app uses it when you send a message, even if your incoming mail is configured with IMAP.

Port 465: SSL/TLS from the beginning

Port 465 uses implicit TLS, often displayed in an app as SSL/TLS or SSL. Encryption starts as soon as the connection opens. Use it when your provider’s instructions specify 465 and SSL/TLS.

Port 587: STARTTLS submission

Port 587 is the standard choice for authenticated message submission in many email apps. The app connects to the SMTP service and then requests STARTTLS to encrypt the session. In an app, the security option may appear as STARTTLS, TLS, or TLS (if available); choose the option that requires a secure connection when available.

RFC 8314 describes both 465 implicit TLS and 587 STARTTLS for SMTP submission. If one is not accepted by your provider, do not swap the port randomly: check the provider’s mailbox instructions and match the encryption mode to the port.

Port 25: do not use it as your first choice

Port 25 is the registered SMTP port and is commonly used for mail transfer between servers. It is not the normal first choice for a person configuring a phone, Outlook or Gmail app to send through a mailbox. Use authenticated submission on 465 or 587 unless your provider explicitly documents another arrangement.

SMTP authentication is separate from the port number. Turn on authentication required and use the full mailbox address, such as orders@yourdomain.tld, with that mailbox’s password. If your app can choose “same settings as incoming server”, that is normally the useful option for a domain mailbox.

SSL/TLS settings that go with each port

The port and security setting must agree. Think of the pairing as one value, not two independent choices.

PortCorrect pairingAvoid pairing it with
993IMAP + SSL/TLSSTARTTLS-only mode, unless the provider says so
143IMAP + STARTTLS, if offeredPlain login with a mailbox password
995POP3 + SSL/TLSSTARTTLS-only mode, unless the provider says so
110POP3 + STARTTLS, if offeredPlain login with a mailbox password
465SMTP + SSL/TLSSTARTTLS mode
587SMTP + STARTTLS/TLSImmediate SSL/TLS mode, unless the app labels it correctly

Implicit TLS means encryption begins immediately after the connection opens. STARTTLS means the app starts the protocol conversation and then asks the server to upgrade that same connection to TLS. Both can protect a connection when configured and negotiated correctly, but a mismatch can produce an SSL error or a failed connection.

Use a server name covered by the mail server’s certificate. Do not ignore a certificate warning or replace the server name with an IP address just to make the error disappear. The certificate name and the server name must agree for a secure connection.

Example settings for a hosting mailbox

Before entering values, create the mailbox in your hosting panel and keep its exact password ready. If you need the full setup process, read how to create an official email ID with your domain.

In the example below, mail.yourdomain.tld is a placeholder. Replace it with the incoming and outgoing mail hostname shown in your hosting welcome details or control panel. Do not assume that every hosting account uses the same hostname.

Email app fieldValue
Email addressorders@yourdomain.tld
UsernameFull email address: orders@yourdomain.tld
PasswordThe password for this mailbox
Incoming protocolIMAP
Incoming servermail.yourdomain.tld
IMAP port993
IMAP securitySSL/TLS
Outgoing servermail.yourdomain.tld
SMTP port465 with SSL/TLS, or 587 with STARTTLS/TLS
SMTP authenticationOn; use the same full email address and mailbox password

For a POP3 setup, change only the incoming protocol, incoming port and security: choose POP3, port 995, and SSL/TLS. Keep SMTP enabled for outgoing mail. Never use your hosting-panel login unless the provider specifically says that it is also the mailbox password.

HostKarle DirectAdmin plans include domain mailboxes with IMAP and POP3 access. The DirectAdmin hosting page explains where email accounts are managed; use the exact mail hostname supplied for your account when configuring an app.

Common errors when a port is wrong

“Connection timed out” or “Cannot connect to server”

Check the server name first, then check the port. For incoming mail, try IMAP 993 with SSL/TLS or POP3 995 with SSL/TLS. For sending, try SMTP 465 with SSL/TLS or 587 with STARTTLS/TLS as documented by the provider.

If the app is set to use a proxy, VPN or office firewall, test the same mailbox on a different network. A timeout is a connection problem; changing the password will not usually fix it.

“SSL error”, “wrong version” or “certificate error”

The security mode and port may not match. For example, SMTP 465 should use immediate SSL/TLS, while SMTP 587 should use STARTTLS/TLS. Also check that the server name is the hostname supplied by the provider and that your device date and time are correct.

Do not accept a certificate warning permanently. Re-enter the correct hostname and use the secure port pair supplied for that mailbox.

Receiving works but sending fails

Incoming and outgoing mail use separate settings. Recheck the SMTP server, SMTP port, encryption mode and authentication required option. Choose “use same username and password as incoming” if your app offers it, then enter the full email address as the username.

“Authentication failed” or “invalid credentials”

This message usually points to the username or password, not the port. Use the complete address, including the domain, and reset the mailbox password in the hosting panel if necessary. A personal Gmail password, hosting-panel password or domain registrar password is not automatically the mailbox password.

Messages arrive on one device but not another

Check whether one device was configured with POP3. For a shared shop mailbox, configure both devices with IMAP 993 and SSL/TLS, then allow time for folders and messages to synchronise. Also check that both apps are using the same mailbox address rather than one using an alias or forwarding address.

If messages reach the inbox but later disappear or go to spam, the port is not the first thing to change. Use the guide on fixing emails that go to Gmail’s spam folder and check the mailbox, DNS and sending settings separately.

A quick setup checklist

Before saving an email account, confirm these six points:

  1. You chose IMAP for multi-device synchronisation or POP3 for a deliberate download-only workflow.
  2. IMAP uses 993 with SSL/TLS, or POP3 uses 995 with SSL/TLS.
  3. SMTP uses 465 with SSL/TLS or 587 with STARTTLS/TLS.
  4. The username is the full email address, not just the part before @.
  5. SMTP authentication is enabled with the mailbox credentials.
  6. The server name is the provider’s hostname and matches the secure certificate.

Send a test message to a second address, reply to it, and confirm the reply appears in the Sent folder on every IMAP device. Then send a message from the second address back to the domain mailbox. This checks outgoing SMTP, incoming IMAP, authentication and synchronisation in one short test.

FAQ

What is the IMAP port number?

The secure IMAP port number is 993 with SSL/TLS. Port 143 is the standard non-implicit-TLS port and may be used with STARTTLS when the provider supports it.

Is IMAP port 993 better than 143?

For a new mailbox, 993 with SSL/TLS is the simpler secure choice because encryption starts when the connection opens. Use 143 only when your provider or email app specifically requires STARTTLS on that port.

What is the POP3 port number?

Secure POP3 uses port 995 with SSL/TLS. Port 110 is the older POP3 port and should be used only with a documented secure STARTTLS configuration, not with an unprotected mailbox password.

Should SMTP use 465 or 587?

Use 465 with SSL/TLS when the app expects implicit TLS, or 587 with STARTTLS/TLS when it expects an authenticated submission connection. The correct choice is the one your email provider documents, and the security mode must match the port.

Can I use IMAP on my phone and computer at the same time?

Yes. IMAP is designed to keep a mailbox synchronised across multiple clients. Configure both devices with the same full email address, the same IMAP server and port 993 with SSL/TLS, then verify that Sent and custom folders are also synchronising.

{“@context”: “https://schema.org”, “@type”: “FAQPage”, “mainEntity”: [{“@type”: “Question”, “name”: “What is the IMAP port number?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “The secure IMAP port number is 993 with SSL/TLS. Port 143 is the standard non-implicit-TLS port and may be used with STARTTLS when the provider supports it.”}}, {“@type”: “Question”, “name”: “Is IMAP port 993 better than 143?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “For a new mailbox, 993 with SSL/TLS is the simpler secure choice because encryption starts when the connection opens. Use 143 only when your provider or email app specifically requires STARTTLS on that port.”}}, {“@type”: “Question”, “name”: “What is the POP3 port number?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Secure POP3 uses port 995 with SSL/TLS. Port 110 is the older POP3 port and should be used only with a documented secure STARTTLS configuration, not with an unprotected mailbox password.”}}, {“@type”: “Question”, “name”: “Should SMTP use 465 or 587?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Use 465 with SSL/TLS when the app expects implicit TLS, or 587 with STARTTLS/TLS when it expects an authenticated submission connection. The correct choice is the one your email provider documents, and the security mode must match the port.”}}, {“@type”: “Question”, “name”: “Can I use IMAP on my phone and computer at the same time?”, “acceptedAnswer”: {“@type”: “Answer”, “text”: “Yes. IMAP is designed to keep a mailbox synchronised across multiple clients. Configure both devices with the same full email address, the same IMAP server and port 993 with SSL/TLS, then verify that Sent and custom folders are also synchronising.”}}]}
Samrat Ghosh

Samrat Ghosh writes hands-on guides about web hosting, WordPress, domains and email for Indian small businesses, students and freelancers - the practical documentation he wishes had existed when he set up his first website.

Share
Published by
Samrat Ghosh

Recent Posts

What Happens When a Domain Expires?

Learn what happens when a domain expires, how grace and redemption periods work, what recovery…

10 hours ago

Best HostLelo Alternatives for Indian Websites (2026)

Compare HostLelo alternatives for Indian websites on renewal price, panels, email, SSL, backups, UPI payments…

16 hours ago

Wix vs WordPress for Indian Small Businesses

Compare wix vs wordpress for Indian small businesses: 3-year rupee cost, beginner ease, UPI/Razorpay payments,…

23 hours ago

How to Transfer a Domain to Another Registrar

Learn how to transfer domain to another registrar: check the 60-day rule, unlock it, use…

1 day ago

DirectAdmin Backup: How to Back Up and Restore Your Site

Learn how to create a directadmin backup, download it off-server, and restore website files, databases,…

2 days ago

Shared Hosting vs WordPress Hosting: Which Should You Buy?

Compare shared hosting vs wordpress hosting by features, management, price and use case, then choose…

2 days ago

This website uses cookies.