IMAP port 993 vs 143 for Windows email apps
Choose the right incoming IMAP port and diagnose connection, certificate and sign-in errors before changing your Windows email settings.
Use the incoming server and port from your provider’s secure IMAP settings. For a direct IMAP mailbox in Swftink for Windows, look for port 993 with SSL/TLS. This setting starts encryption as soon as the connection opens. If your instructions only list port 143 with STARTTLS, ask the provider whether it also offers an implicit TLS endpoint on 993. Swftink’s direct IMAP setup requires implicit TLS.
Match the port to the encryption setting
IMAP lets an email app access messages and folders on a mail server. The port tells Windows which network service to contact at the server hostname. The security setting tells the app how to start the conversation with that service. Copy the hostname, port and security setting as a group from the same row of your provider’s instructions.
| Provider’s incoming settings | What happens when you connect | What to do in Swftink |
|---|---|---|
| IMAP 993, SSL/TLS, SSL or implicit TLS | The client starts the TLS handshake immediately. IMAP commands and authentication follow inside the encrypted connection. | Use the listed hostname and 993. Some providers still use “SSL” as the connection label. |
| IMAP 143, STARTTLS or explicit TLS | The server opens an IMAP session. The client requests an upgrade to TLS before authenticating. | Ask the provider for an implicit TLS IMAP endpoint on 993. |
| IMAP 143, None or unencrypted | The app can send IMAP traffic without transport encryption. | Request secure IMAP settings before entering credentials. |
| SMTP 465 or 587 | The app connects to the submission service for outgoing mail. The provider specifies the associated security mode. | Put the documented SMTP hostname and port in the outgoing fields. |
| POP 995 | The app connects to a different incoming mail protocol, usually with implicit TLS. | Ask for secure IMAP settings if your plan offers IMAP access. |
If a help page calls both options “TLS,” check its detailed setup instructions. A setting called SSL/TLS typically means encryption starts at the beginning. A setting called STARTTLS says when the app requests an upgrade. Older software may display a generic TLS label, so the provider’s actual port and mode matter more than a remembered label from another app.
Why swapping 993 and 143 can produce a timeout
On an implicit TLS service, the client speaks first by sending a TLS handshake message. On a typical STARTTLS service, the client initially waits for the server’s IMAP greeting. With a STARTTLS client pointed at 993, both ends may wait for the other to speak. With an implicit TLS client pointed at a service expecting ordinary IMAP on 143, the client may try to interpret the server’s greeting as handshake data. An app can report a timeout, a closed connection or a generic TLS error for this mismatch.
An app using STARTTLS needs to require a successful upgrade and verify the certificate before logging in. Settings that allow an optional upgrade can fall back to cleartext. The IETF recommends implicit TLS for email access. A provider’s compatibility table might include 143 for existing clients, even though 993 is the secure setup it recommends for new connections.
Why the port number alone cannot identify the problem
The same number can appear in a hosting panel, an app setting and a support ticket while three different hostnames are being discussed. For example, a managed host may offer secure IMAP at a shared server name. Your notes might say “993 is open” after testing the shared server, while the app was configured to contact your domain. Save the complete hostname with every result.
HTTPS webmail also reaches a different service. If the browser shows the Inbox at a secure webmail address, you have confirmed that the mailbox exists and that the browser reached the provider’s web service. An external mail app uses its own endpoint and sign-in rules. Treat a working browser session as a useful reference for mailbox contents while you verify the separate IMAP connection.
Copy the incoming details for your exact mailbox
Start in the provider’s account portal or in its setup guide for your mailbox plan. If you have several addresses on a domain, make sure you are looking at the right mailbox. A forwarding address, shared alias or address on a recently migrated domain can have different access rules from the mailbox you intended to add.
For a typical cPanel account, open Email Accounts and choose Connect Devices for the address. In the manual settings, read the recommended Secure SSL/TLS Settings. cPanel’s interface lists the username and both incoming and outgoing settings. The incoming section can show IMAP and POP side by side, so copy the IMAP value. If the provider hides this screen or manages mail externally, ask the host to supply the settings for that address.
For example, suppose a hosting panel gives server.mail.example.net for incoming SSL/TLS and lists 993 for IMAP. Use that exact host even if the email address ends in example.com. A webmail URL can contain a path or a browser port. The IMAP server field expects the hostname by itself. If the provider publishes a different outgoing host, keep that value with the SMTP port on the separate outgoing line.
Fastmail is another example of provider-specific settings. Its published incoming name is imap.fastmail.com, with SSL/TLS on 993. It requires an app password for a third-party mail client, and access depends on the plan. The host and port can be right while a regular account password or a plan without IMAP access still prevents setup. Check the provider’s current instructions for the account you are adding.
Make a small setup record
| Field | Example entry | Where to confirm it |
|---|---|---|
| Mailbox being connected | support@example.com | Provider’s mailbox account page |
| Incoming server | server.mail.example.net | Secure IMAP row for the mailbox |
| Incoming port and mode | 993, implicit TLS | Same secure IMAP row |
| Sign-in name | support@example.com | Provider’s username field |
| Sign-in method | Mailbox password or a generated app password | Provider’s instructions for third-party clients |
| Outgoing server, port and mode | smtp.mail.example.net, 465, implicit TLS | Secure SMTP submission row |
These example hostnames are placeholders. Keep a real record of the settings your host supplied, leaving out the password. If a provider requires a sign-in flow through its own page, use the setup route for that provider when available. A mail port setting cannot grant an app permission to access an account.
Check what changed since the last working connection
For a mailbox that used to work, record the last approximate date you saw a fresh incoming message. Then check for a hosting move, a network or VPN change, a password reset or an IMAP access policy change. Those changes suggest different tests. A provider move calls for a fresh copy of the host settings. A password reset calls for checking the provider’s credential requirements. A failure that starts as you join a different network calls for a connectivity comparison.
If you have an older mail app that still receives mail, compare its hostname, port and security mode with the provider’s current supported settings. A legacy bookmark or a configuration saved years ago can still show an old server name. Make the provider’s current record your reference point before adjusting Swftink. Keep a way to read mail in webmail while you work through the connection problem.
Enter the incoming and outgoing settings in Swftink
Open Swftink on Windows and add the mailbox using its full email address. For a direct IMAP setup, review the suggested server settings before connecting. Use Advanced settings if the host, port or outgoing values differ from the provider’s instructions. Fill in the incoming host and port from the secure IMAP row. Enter the outgoing settings from the provider’s SMTP row.
Use the password your provider assigns to that sign-in method. A mailbox password can differ from the password for your hosting account. If the provider issues an app password, generate it through the provider’s account settings and enter it in the app’s mailbox password field. A password manager can help you keep the hosting login and mailbox credentials in separate entries.
When both connections pass setup, check that online Swftink shows a harmless recent message you can also see in the provider’s webmail. For an outgoing check, send a small text-only test to an address you can inspect. Give the message a unique subject such as Connection check Tuesday 1435. Confirm it arrives, then separately check whether the provider’s Sent folder contains a copy.
If you are changing an existing connection
Write down the currently configured host and the proposed replacement before saving. If the new server is part of a migration, check that the intended mailbox on the new host has the messages you expect. Open a known recent message and a known older message in that host’s webmail when available. A successful connection to an empty replacement mailbox says nothing about whether your earlier email has moved.
Resolve outstanding sends and filing issues before changing mail servers. If Swftink reports a pending Sent copy, inspect Outbox and check the provider’s Sent folder. A filing retry is a separate action for an already accepted message. Sending it again can produce a duplicate. Once the queue is clear, use the provider’s newly documented settings and test the mailbox online.
Identify which part of the connection failed
The app has to find the hostname, reach the port, establish TLS and sign in. Each successful step narrows the next test. Capture the exact error after each change and keep the record free of passwords or verification codes.
| Symptom | First check | What to do next |
|---|---|---|
| Server name cannot be found | Compare the incoming hostname letter by letter with the provider’s settings. | Check whether Windows resolves the exact host. Ask the provider if the published name changed. |
| Connection refused or timed out | Verify that the host publishes implicit TLS on 993. | Run the Windows TCP test and compare with another approved connection or computer. |
| TLS handshake fails | Check that the port expects TLS at connection start. | Ask the provider to verify the incoming TLS service if you have copied the exact documented endpoint. |
| Certificate names a different host | Match the host in the app with the secure provider hostname. | Correct a typo or ask the provider which certified hostname belongs to your mailbox. |
| Certificate reports an expiry or trust problem | Check the Windows date, time and time zone. | Have the provider verify the certificate and chain. Use your IT team for a managed network or device. |
| Sign-in rejected after the server responds | Confirm the username, credential type and IMAP permission for the plan. | Check for an app password requirement, revoked access or a provider security prompt. |
| Inbox loads but outgoing setup fails | Check the documented SMTP host, port and authentication requirements. | Test sending after correcting that service. Keep the verified IMAP settings. |
| Inbox opens but looks incomplete | Compare a known subject with the same folder in webmail. | Check folder selection, sync state and which messages are available in your local view. |
Test the incoming port in PowerShell
On the Windows computer running Swftink, open PowerShell and substitute your actual IMAP hostname in the command below. Run the test from the same network and VPN state where you observed the problem. This command checks TCP reachability and does not ask for mailbox credentials.
Test-NetConnection -ComputerName server.mail.example.net -Port 993
Look for TcpTestSucceeded. A result of True means Windows established a TCP connection to the displayed remote address. It leaves certificate validation, IMAP service identity and authentication for the app to test. Save the hostname, remote port and result. If the app still fails, include its exact error so the provider can see which later step needs investigation.
A result of False can reflect an unavailable listener, an incorrect host or routing and firewall rules. Compare the tested hostname with the provider record. If your organisation permits an alternate network, run the same test once from that network. A failure limited to the office connection gives the network administrator a reproducible case. A failure from multiple approved networks gives the mail host a stronger reason to check the endpoint.
The command may show that a ping failed even if TCP succeeded. Focus on TcpTestSucceeded for this check. It may also show the address Windows selected for the test. If a provider reports issues affecting only one address family, that remote address can help it interpret what happened. Share it with the provider alongside the timestamp and the original hostname.
Handle certificate errors before trying another password
When Windows or Swftink reports that the certificate belongs to a different server name, check the provider’s secure configuration screen. On shared hosting, the secure name can differ from the obvious mail subdomain. Use the provider’s documented name after you confirm it applies to your mailbox. Keep certificate checking enabled.
A certificate that appears invalid on one computer can reflect a clock problem, a trust issue or a network device that inspects encrypted traffic. Compare the same endpoint from a second authorised setup if you have one. Write down the name reported in the error and the hostname you entered. A provider or IT team can use those details to distinguish a naming issue from a trust-chain issue. A new app password will only become relevant after the connection reaches authentication.
Handle sign-in failures after the connection reaches the server
Check the full email address, including the domain after the at sign. Similar business aliases can display the same friendly name while having separate credentials. A saved browser session can also open webmail without proving that the credential you typed is still valid. Use the provider’s account page to see whether third-party IMAP access is enabled and whether it expects a separate app credential.
If you generated an app password, check whether it was created for the right mailbox and whether you copied the full value. If a mailbox administrator manages access, ask whether the account is subject to a plan limit, a disabled protocol or a security lock. Record the exact failure after a careful retry. Repeated attempts with changing passwords make it harder to compare results and can meet a provider’s rate limit.
Work through three common setup cases
The host supplies both 993 and 143
You receive two rows from a cPanel host. One says Secure SSL/TLS with IMAP 993. The other lists IMAP 143 among legacy settings. In Swftink, use the secure row’s hostname and 993. If that hostname differs from the legacy row, keep the secure one. Test the app and compare a recent incoming message against webmail.
If the connection fails before sign-in and PowerShell reaches the host on 993, send the provider the certificate or handshake error. The open TCP port lets the host begin at TLS. Leave the 143 entry as reference for the host’s published configuration.
The provider supplies only 143 with required STARTTLS
An organisation’s helpdesk supplies imap.office.example, port 143, with STARTTLS required. Ask whether that same service also publishes a 993 endpoint for implicit TLS and whether external access requires a VPN. Include the mailbox type and your service plan or department if relevant. Ask for the certified hostname if it differs.
While the provider confirms available options, use its webmail or an approved client that supports required STARTTLS. If the organisation confirms 143 with STARTTLS is the only incoming option, its endpoint is incompatible with Swftink’s direct IMAP setup. Any plan to add an implicit TLS service belongs with the mail administrator.
The same settings work from home and fail at work
You leave the saved settings alone, then run the same TCP check on each permitted network. At home it returns True and the Inbox syncs. At work it returns False. Record both results and the hostname, port, time and VPN state. The workplace IT team can check routing and policy using the exact service. The comparison also helps you avoid requesting an unnecessary password reset.
If both tests return True but the app reports a certificate error at work, report the certificate details and that narrower symptom. A TCP result identifies reachability. The application error identifies the stage after the socket opens.
When comparing two test reports, keep the remote address shown in each one. The same hostname can resolve to more than one address. Your IT team can use the reported address and connection time to see which route your computer tested. Keep the published hostname in the mail client so it can validate the server certificate. Find the hostname your provider expects
Send your provider enough detail to act
A useful support request names the service and the failing step. For example, write that your Windows mail app needs implicit TLS IMAP, the provider’s portal lists the specific host and 993, TCP succeeded at a particular time, and the app reported a certificate mismatch before login. Include the names printed in the error and whether the issue repeats from another approved network.
If your Inbox works and your test message fails to send, tell support that IMAP succeeded and provide only the SMTP hostname, security mode, port and outgoing error. If both sending and receiving work but an accepted message is missing from Sent, send the test subject and timestamp and ask which server folder should contain the copy. This gives support a filing issue to investigate.
Record the final working host, port, security mode, credential type, confirming test and date. This creates a baseline you can check after a move, renewal or password change. Verify a fresh message online, keep webmail access available and use the successful provider settings the next time you set up a device.