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 HussainSohail Hussain10 min read

Short answer

  • Error 0x800CCC0E means classic Outlook could not complete a connection or sign-in with your mail server, so nothing was sent. Nothing was rejected; the connection never got that far.
  • Check the outgoing server, port and encryption first (usually port 587 with STARTTLS), then the password or app password, then antivirus, VPN and firewall.
  • For Gmail or Yahoo accounts, clearing the saved OAuth entries in Windows Credential Manager is a documented workaround.

You hit Send/Receive and Outlook shows something like "Sending reporting error (0x800CCC0E): Unable to connect to the server", or a similar message about the outgoing (SMTP) server. Sometimes the same code appears while syncing folders, and some people see 0x80042109 instead. Both mean Outlook could not reach or log in to the server.

Why Outlook shows 0x800CCC0E

This is a client-side connection error, not an SMTP rejection. Outlook tried to open a connection, negotiate encryption or log in, and failed before the server accepted any mail. That is why you see no 550 or 554 reply. If you get a numbered rejection such as 554 5.7.1 message blocked due to spam content, the connection worked and the server refused the message. That is a reputation or content problem, a different one (see SMTP for how reply codes are built).

Microsoft's own community answers describe the code the same way: Outlook cannot connect to the mail server. The usual causes, roughly most to least common:

  1. Wrong port or encryption. For example 587 with SSL/TLS, or 465 on a server that expects STARTTLS.
  2. SMTP authentication switched off in the account's outgoing server settings.
  3. Stale or invalid credentials. A changed password, a revoked app password, or a broken saved OAuth token (a known issue for Gmail and Yahoo accounts in classic Outlook).
  4. Antivirus, firewall or VPN interfering with the connection. Users on Microsoft's community forum report that disconnecting a VPN made the error stop.
  5. Your network or ISP blocking the port. Some firewalls and ISPs block port 25.
  6. Outlook itself: a bad add-in, damaged profile, offline mode or an Office install that needs repair.

I can't tell you from the code alone which one you have. The steps below go from cheapest check to most invasive.

Step-by-step fixes

1. Rule out the quick things

  1. Open your provider's webmail in a browser. If webmail also fails, the provider may have an outage or your account may be locked; Outlook is not the problem.
  2. In Outlook's status bar, look for Working Offline or Disconnected. If you see it, go to Send/Receive and toggle Work Offline off.
  3. Restart Outlook and your router, then try Send/Receive All Folders again.

2. Check the outgoing server settings

  1. In classic Outlook, go to File > Account Settings > Account Settings.
  2. Select the account and choose Change, then More Settings.
  3. On the Outgoing Server tab, tick My outgoing server (SMTP) requires authentication and choose Use same settings as my incoming mail server.
  4. On the Advanced tab, set the outgoing port and encryption to match your provider (table below).
  5. Click OK, then Next to test the account.
ProviderOutgoing serverPortEncryption
Microsoft 365smtp.office365.com587STARTTLS
Outlook.comsmtp-mail.outlook.com587STARTTLS
Gmail / Google Workspacesmtp.gmail.com587 or 465STARTTLS or SSL/TLS
Yahoosmtp.mail.yahoo.com465 or 587SSL/TLS or STARTTLS

As of November 2026. Microsoft's Outlook.com settings page lists smtp-mail.outlook.com, port 587, STARTTLS, and says Outlook.com requires Modern Auth (OAuth2). For Microsoft 365, the Exchange Online POP3 and IMAP4 documentation gives smtp.office365.com, 587, STARTTLS. Gmail and Yahoo values are the commonly documented ones; if you use another host, copy the values from its help page and don't guess.

Port 587 pairs with STARTTLS and 465 with SSL/TLS. Mixing them is a classic way to get this error. See SSL/TLS for email for the difference.

Don't use 465 with Microsoft 365

Microsoft says a device or app that defaults to port 465 does not support the TLS versions required for client SMTP submission to Microsoft 365. Use 587 with STARTTLS there.

3. Fix the password or sign-in method

If the settings are right, the connection may be failing at login.

  • Gmail or Yahoo in classic Outlook: Microsoft's support answers describe a known issue that triggers 0x800CCC0E and 0x800CCC0F for these accounts, sometimes after a password change. The documented workaround:
    1. Close Outlook.
    2. Open Credential Manager from the Windows Start menu, then Manage your credentials > Windows Credentials.
    3. Under Generic credentials, remove the entries that start with MicrosoftOffice16_Data:OAUTH2.
    4. Reopen Outlook and sign in again when prompted.
  • IMAP or POP accounts with an app password: an invalid app password can cause the error. Create a new one in your provider's webmail security settings, then paste it into File > Account Settings > Account Settings > Server Settings.
  • Gmail added recently: if Google's consent screen did not grant full mail access, sending can fail. Use the Retry link in the error dialog and make sure the sign-in box for full Gmail access is ticked. Also confirm IMAP is enabled in Gmail settings.
  • Microsoft 365: an admin can disable authenticated SMTP submission for a mailbox. If so, ask them to enable it, or switch the account to the Exchange/Microsoft 365 account type instead of IMAP or POP.
  • Old Office versions: people on Microsoft's community forum report that Office 2013 often fails modern sign-in for Microsoft accounts. Upgrading Outlook is the stable fix.

If you changed your password recently, update it in Account Settings too. Outlook may not prompt right away; one Microsoft answer says an OAuth token can take about an hour to expire.

4. Rule out antivirus, firewall and VPN

  1. Turn off your antivirus's email shield or email scanning option, not the whole product.
  2. Click Send/Receive.
  3. If it works, leave scanning off for mail or add Outlook to the exclusions.
  4. Repeat with your VPN disconnected, and check that Windows Firewall allows OUTLOOK.EXE.

If the VPN is the cause, you may need to ask the VPN vendor to let your mail server through rather than leave it off permanently.

5. Test whether the port is reachable

This tells you whether the problem is Outlook or the network. In PowerShell:

Test-NetConnection smtp.office365.com -Port 587

Swap in your own server and port. TcpTestSucceeded : True means the network path is open, so go back to encryption and login settings. False means something between you and the server blocks it: a firewall, proxy, VPN or ISP. Try again from a phone hotspot. If it works there, your normal network is the cause.

Microsoft notes that some firewalls and ISPs block port 25, which is one reason 587 is the recommended port. See its guidance on client SMTP submission.

6. Isolate Outlook itself

  1. Press Windows + R and run outlook.exe /safe. If sending works, an add-in is the cause. Disable third-party ones under File > Options > Add-ins (choose COM Add-ins, then Go).
  2. Select the account under File > Account Settings > Account Settings > Email and choose Repair.
  3. Run an Office repair: Settings > Apps > Installed apps, find Microsoft 365 or Office, choose Modify, then Quick Repair, then Online Repair if needed.
  4. Create a new profile in Control Panel > Mail > Show Profiles > Add, and set up the account again. Back up your data files first.
  5. If the error appears while syncing IMAP folders, check for duplicate accounts and remove them, since people report duplicates can trigger it.

Back up before touching the OST

Some guides tell you to rename the .ost file so Outlook rebuilds it. Do that only after a backup, because unsynced local changes can be lost.

Which cause do you have?

What you seeLikely causeFirst fix
Started right after a password changeStale credentials or app passwordStep 3
Gmail or Yahoo account in classic OutlookOAuth credential issueCredential Manager entries
Port test fails on one network onlyISP, firewall or VPN blockSteps 4 and 5
Works with antivirus email scanning offAntivirus interceptionStep 4
Works in safe modeAdd-inStep 6
Webmail works, port test passes, settings correctProfile or Office installStep 6

Checklist before you try again

  • Outlook is not in Working Offline mode
  • Server name has no typo or stray spaces
  • Port and encryption match (587 with STARTTLS, or 465 with SSL/TLS where the provider supports it)
  • My outgoing server (SMTP) requires authentication is ticked
  • Password or app password is current
  • Antivirus email scanning and VPN are tested off
  • Test-NetConnection returns True for your port

If nothing works

Contact your mail provider or IT admin. For Microsoft 365 that is your tenant admin; for Gmail or Yahoo it is the provider's support. Send them:

  • The exact error text and code (0x800CCC0E or 0x80042109)
  • Account type (IMAP, POP, Exchange) and Outlook version
  • Server name, port and encryption you use
  • The Test-NetConnection result, and whether it works from a phone hotspot
  • What you already tried, and the time of the last failed attempt
Subject: Outlook error 0x800CCC0E when sending (SMTP)

Hello,

Classic Outlook (version {your-version}) cannot send or receive for {your-address}.
Error: 0x800CCC0E, "Unable to connect to the server".

Account type: {IMAP/POP/Exchange}
Outgoing server: {server}, port {port}, encryption {STARTTLS/SSL/TLS}
Last failed attempt: {date and time, timezone}
Test-NetConnection result: {True/False}
Webmail works: {yes/no}

Already tried: checked ports and encryption, updated the password or app password,
disabled antivirus email scanning, tested without VPN, safe mode, profile repair.

Can you confirm that SMTP authentication is allowed for this mailbox and that
nothing on your side is blocking my connection?

Thank you

Common questions

Is 0x80042109 the same as 0x800CCC0E?

They are different codes for the same kind of failure: Outlook could not connect to the outgoing server. The checks above cover both.

Does this error mean my email was marked as spam?

No. Spam blocking produces a numbered SMTP rejection from the server. This error happens before the server accepts any message.

Why does it work in webmail but not in Outlook?

Webmail uses your browser's connection and your provider's own sign-in. Outlook uses its own saved settings, credentials and add-ins, so a wrong port, a stale token or antivirus interference breaks only Outlook.

Does the new Outlook for Windows have this problem?

Microsoft's guidance says the Classic Outlook troubleshooters and repair steps apply to classic Outlook, not new Outlook for Windows. If you use the new app, remove and re-add the account first.

deliverabilityoutlookerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

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

Related Articles

Deliverability

550 5.7.520 Message Blocked as Spam in Outlook.com: Fixes

The error "550 5.7.520 Message blocked because it contains content identified as spam" means Microsoft's outbound filter stopped your message. On personal Outlook.com accounts it often follows a compromised-account flag. Reset your password, review recent activity and sign-in settings, then resend a plain-text test before retrying the attachment.

Sohail Hussain|9 min read
Deliverability

SocketLabs "421 4.5.1 Too many errors" blacklist: how to fix it

`421 4.5.1 Too many errors, you have been temporarily blacklisted` means a SocketLabs server saw repeated auth or bad-address errors from your IP and paused it. Stop whatever is retrying, fix credentials and invalid recipients, clear the queue, and wait. The block usually lifts within minutes, but returns if retries resume.

Sohail Hussain|9 min read
Deliverability

421-4.7.0 Gmail Has Detected This Message Is Suspicious: Fix

The 421-4.7.0 "suspicious due to the nature of the content and/or the links" error means Gmail's content filter rejected your message after DATA, not an authentication check. Remove click tracking or move it to your own domain, drop URL shorteners, check link reputation, then retest with a plain message.

Sohail Hussain|10 min read
Deliverability

421 4.7.0 IP not in whitelist for RCPT domain: what it means

The error 421 4.7.0 IP not in whitelist for RCPT domain means the recipient's mail gateway, usually Mimecast in reports, only accepts connections from approved IPs, and the Google sending IP isn't on that list. The fix is on the recipient side: their admin must allow the IPs or change the mail routing.

Sohail Hussain|9 min read

Ready to supercharge your email marketing?

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

Get Started Free