Outlook: Error Message: A Connection Failure Has Occurred (Error -23012)

Email | Updated 2026
Correct Email Settings

Most Outlook errors are caused by incorrect server settings. Use these values:

  • Incoming/Outgoing Server - mail.yourdomain.com
  • POP3 Port - 995 (SSL) or IMAP Port - 993 (SSL)
  • SMTP Port - 465 (SSL)
  • Username - your full email address
  • Authentication - enabled for outgoing, SPA disabled

For step-by-step setup: How to Set Up Email in Microsoft Outlook

This article has been consolidated into our Common Outlook Email Errors guide for easier reference.

Share: X in Reddit f Email
  • 423 Users Found This Useful

Was this answer helpful?

Related Articles

What is email forwarding?

Email & Webmail | Updated 2026 Email forwarding automatically sends a copy of incoming...

550-not permitted to relay through this server

Email & Webmail | Updated 2026 The "550 not permitted to relay" error means the mail...

An error has occurred

Email & Webmail | Updated 2026 The generic "An error has occurred" message in webmail or...

Cannot write to cache directory /tmp/horde

Email & Webmail | Updated 2026 If you see the error "Cannot write to cache directory...

How to Set Up Email Forwarders and Catch-All Addresses

Email and Webmail | Updated July 2026 Email forwarders are one of the most useful and most...



Save 30% on web hosting - Use coupon code Hosting30