Deliverability

Connection Timed Out when connecting a mailbox over SMTP

"Connection Timed Out" means the tool never got an answer from your SMTP server. Switch ports and encryption together (587 with STARTTLS or 465 with SSL/TLS), confirm the hostname, and check for a firewall or host restriction. If the login is the real problem, fix Zoho or Google Workspace authentication.

Sohail HussainSohail Hussain9 min read

Short answer

  • Switch to the other SMTP port and its matching encryption: 587 with STARTTLS, or 465 with SSL/TLS. A mismatch between port and encryption mode is the most common reason for a timeout.
  • If both ports time out, check that the hostname is the mail host (not your website), then look for a firewall or a provider block.
  • If the provider is Zoho or Google Workspace, the timeout can hide a sign-in problem; re-authenticate Zoho with an app-specific password, or recover Workspace with a backup code.

You add a mailbox to a cold email tool, press connect, wait, and get Connection Timed Out. SalesBlink's help center lists the same error among its email disconnection errors, and its first fix is to switch the SMTP port. The cause is general to SMTP, so the steps below work in any tool, including Mailneo.

What "Connection Timed Out" means

A timeout is not a rejection. With a wrong password, the server answers quickly with something like 535 5.7.8 Authentication failed. With a timeout, nothing answered. The tool opened a connection to a host and port, heard silence, and gave up when its timer ran out.

So the problem sits before authentication. Ignore the password until the connection itself works.

Why it happens

Most common first:

  1. Port and encryption mode do not match. Port 587 expects STARTTLS (plain greeting first, then an upgrade). Port 465 expects implicit TLS (encrypted from the first byte). If the tool uses the wrong mode, both sides wait for a message the other never sends.
  2. Wrong hostname. The website name is used instead of the mail host, so the connection reaches a web server or nothing at all.
  3. A firewall or network rule blocks the port. This can be a server firewall, a shared host that restricts remote SMTP, or a network that drops outbound SMTP traffic.
  4. The provider stops answering a login it dislikes. Some providers throttle or drop connections after repeated failed logins, or when an account needs re-authentication. This is the Zoho and Workspace pattern covered below.
  5. A temporary ban after repeated retries. Tools such as fail2ban can block an IP that failed too many times, which looks like a timeout.

I can't tell you which one you have from the error text alone; the same words cover all five. The fixes below are ordered so each one rules out a cause.

Step-by-step fixes

Fix 1: Switch the port and encryption together

PortEncryption modeLabel in most tools
587STARTTLSTLS or STARTTLS
465Implicit TLSSSL or SSL/TLS
25Server-to-server relayAvoid for mailbox connections

Google documents this split for Gmail: smtp.gmail.com accepts 465 with implicit SSL/TLS and 587 with TLS (STARTTLS), and a client that starts in plain text before upgrading should use 587. See Google's IMAP, POP, and SMTP for Gmail page. Other providers follow the same convention.

  1. Note the port and encryption you used when it failed.
  2. Open the mailbox's SMTP settings in the tool.
  3. Change to the other pair: 587 with STARTTLS, or 465 with SSL/TLS.
  4. Save and run the connection test again.
  5. If your provider documents another port (some relays use 2525), try that last. Most mailbox hosts do not offer it.

Change both fields

Changing only the port number is the usual mistake. Port 465 with STARTTLS selected, or 587 with SSL selected, will time out or hang just like a blocked port.

Fix 2: Check the hostname

Copy the SMTP host from your provider's documentation. A common slip is example.com where the mail host is smtp.example.com. Zoho is a good example of how hosts differ by account type: personal addresses and custom-domain addresses use different SMTP hosts (smtp.zoho.com and smtppro.zoho.com), and Zoho also has regional data centers, so check which one your account uses in Zoho's own documentation.

To test from your own computer:

nc -vz smtp.example.com 587
nc -vz smtp.example.com 465

On Windows PowerShell, use Test-NetConnection smtp.example.com -Port 587. If one port connects and the other hangs, you know which one the server listens on.

This tests from your network, and the tool connects from its own. A success on your laptop does not prove the tool can reach the server. A failure on both ports does point at the server or the hostname.

Fix 3: Look for a firewall or host restriction

Check in this order:

  1. Server firewall. On a self-managed server or VPS, confirm the SMTP port is open for inbound connections.
  2. Shared hosting. Some hosts restrict SMTP to certain IP ranges or disable external logins. Ask support whether remote SMTP logins are allowed.
  3. Provider switches. Some providers need SMTP or IMAP access turned on for the mailbox, or an app-specific password.
  4. Temporary IP ban. If you retried many times, wait before testing again. Repeated failures can get an IP blocked.
  5. Allowlisting. If your host only allows known IPs, ask the tool's support for the current list of connection IPs.

Many cloud and residential networks block outbound port 25 to curb spam, so I would not use 25 to connect a mailbox at all.

Fix 4: Re-authenticate Zoho

SalesBlink's related notes say a Zoho mailbox that is blocked or needs re-authentication is fixed by re-authenticating the account. In practice that means:

  1. Sign in to your Zoho account and open its security settings.
  2. Generate an application-specific password and use it in the tool instead of your normal password. Zoho requires this when two-factor authentication is on.
  3. Confirm IMAP and SMTP access are enabled for the mailbox.
  4. Re-enter the account in the tool with the full Zoho address as the username, and the correct SMTP host for your account type.

Fix 5: Recover Google Workspace with a backup code

Some Workspace accounts get stuck in a phone-number verification loop when a tool signs in. The reported way out is to use a backup code instead of the phone prompt.

  1. Sign in to the Google Account and, at the 2-Step Verification step, click Try another way.
  2. Click Enter one of your 8-digit backup codes and enter an unused code, as described in Google's Sign in with backup codes help.
  3. If you have no codes, create them under Security & sign-in > 2-Step Verification > Backup codes. Note that a code becomes inactive after you use it.
  4. In a managed Workspace account, ask an admin. Google says admins with the User management privilege can generate codes for a locked-out user, in the Admin console under the user's 2-step verification section. The steps are in Google's Recover an account protected by 2-Step Verification.
  5. Once signed in, reconnect the mailbox.

Do not turn off 2SV as a shortcut

Google advises admins to issue a backup code to a locked-out user rather than turning 2-Step Verification off. Disabling it leaves the account less protected.

For Gmail and Workspace, I would use the tool's OAuth (Google sign-in) option where it exists. It avoids port choices and app passwords entirely.

Telling the causes apart

What you seeMost likely causeFix
Both 465 and 587 time outWrong hostname, firewall, or host blocks remote SMTPFixes 2 and 3
One port works, the other times outWrong port or TLS modeFix 1
Fast 535 or "authentication failed"Not a timeout; credentials or app passwordFix 4 or a new password
Worked before, now times outIP ban, expired app password, or provider changeFixes 3 and 4
Google sign-in keeps asking for a phone numberVerification loopFix 5

Checklist before you try again

  • The host is the mail host from your provider's docs, not your website address.
  • Port and encryption are a matching pair: 587 with STARTTLS or 465 with SSL/TLS.
  • SMTP or IMAP access is enabled on the mailbox.
  • You are using an app-specific password if two-factor authentication is on.
  • You have waited a few minutes since your last failed attempts.
  • You have noted the working host, port and mode somewhere for next time.

Where Mailneo fits

Mailneo connects a mailbox over custom SMTP, offers IMAP server auto-discovery and has a connection test, so the steps above apply when you add an SMTP account. Gmail and Outlook connect through OAuth rather than SMTP ports; see the email accounts documentation. We can't promise our error text reads the same as the one quoted here, which is why this page works by symptom. Mailneo can't open a port on your server or lift a provider's block; those happen at your host or mailbox provider.

If nothing works

Contact your mail provider first, because the block is on their side or in the path to it. Then contact the tool's support if the provider confirms the account allows remote SMTP. Include:

  • the exact hostname, ports and encryption you tried
  • the time of each attempt, with timezone
  • the tool's connection IP, if its support will share it
  • the full error text, Connection Timed Out
  • what you already tried (port switch, app password, backup code)
Hello,

I can't connect the mailbox {you@your-domain.com} to my sending tool over SMTP.
The tool reports "Connection Timed Out".

Host: {smtp.your-provider.com}
Ports tried: 587 (STARTTLS) and 465 (SSL/TLS)
Attempts: {date, time, timezone}
Already tried: switching ports, a new app-specific password.

Is remote SMTP submission enabled for this account, and are connections
from outside your network restricted? If so, which IP ranges should I allow?

Thank you.

Common questions

Is a timeout the same as a wrong password?

No. A wrong password gets a fast reply such as 535. A timeout means no reply arrived in time, so fix the connection first and the credentials second.

Why does it work from my laptop but not from the tool?

The tool connects from its own servers, so a firewall or host rule can block it while your network is fine. Ask the mail host whether it restricts connections by IP.

Should I use port 25?

No, not for connecting a mailbox. It is meant for server-to-server relay, and many networks block it outbound.

Does re-authenticating Zoho or Google fix a real network timeout?

Only if the timeout came from the provider ignoring a login it distrusted. If both ports fail from every network, look at the hostname and firewall instead.

deliverabilitysalesblinkerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

Deliverability

534-5.7.9 Application-Specific Password Required: Gmail SMTP Fix

The Gmail error 534-5.7.9 means Google refused your normal account password over SMTP or IMAP. Turn on 2-Step Verification, create a 16-character app password in your Google Account, and enter it as the SMTP and IMAP password in your outreach tool. Workspace admins may need to allow it first.

Sohail Hussain|9 min read
Deliverability

550 5.4.5 Daily user sending quota exceeded: Gmail fix

The error 550 5.4.5 Daily user sending quota exceeded means a Gmail or Google Workspace mailbox hit Google's daily sending limit. Pause that mailbox, wait for the block to clear (Google says up to 24 hours), then resume at a lower volume and spread the rest across more mailboxes.

Sohail Hussain|7 min read
Deliverability

550 5.7.708 Access Denied: Outlook Tenant Error Fix

550 5.7.708 Access Denied means Exchange Online refused a connection because of the IP address it came from. Find that IP in the full bounce, check your tenant for restricted senders, ask Microsoft to delist the IP if it is blocked, then reconnect the mailbox and send a test.

Sohail Hussain|9 min read
Deliverability

0x800ccc0e: Outlook Unable to Connect to SMTP Server, Fixed

Outlook error 0x800ccc0e means the app could not open a connection to your outgoing (SMTP) server. Usually the port, encryption setting or password is wrong, or antivirus, a firewall or your ISP is blocking it. Set port 587 with STARTTLS, turn on SMTP authentication, and test again.

Sohail Hussain|10 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free