<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Configuring an Email Provider Error "Connection With the Specified SMTP Server Failed"
Okta Classic Engine
Okta Identity Engine
Custom Email Domain
Overview

This article addresses an issue where, when configuring an email provider, a connection to the specified SMTP server fails with the following error message:

 

Connection with the specified SMTP server failed.

Error message displayed in User Interface 

Applies To
  • Simple Mail Transfer Protocol (SMTP) 

  • Server Configuration
  • Outbound Email
Cause

The connection failure occurs because network settings, firewall rules, or authentication credentials prevent the application from connecting to the SMTP server.

Solution

To resolve the connection failure, perform the following steps:

  1. Verify that the SMTP server address and port number are correct.

  2. Ensure the firewall allows outbound traffic on the designated recommended SMTP ports (587 or 465).

  3. Confirm that the authentication credentials provided in the configuration are valid.

  4. Test connectivity using a command-line tool to verify that the server is reachable from the host machine.

Loading
Configuring an Email Provider Error "Connection With the Specified SMTP Server Failed"