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.
-
Simple Mail Transfer Protocol (SMTP)
- Server Configuration
- Outbound Email
The connection failure occurs because network settings, firewall rules, or authentication credentials prevent the application from connecting to the SMTP server.
To resolve the connection failure, perform the following steps:
-
Verify that the SMTP server address and port number are correct.
-
Ensure the firewall allows outbound traffic on the designated recommended SMTP ports (587 or 465).
-
Confirm that the authentication credentials provided in the configuration are valid.
-
Test connectivity using a command-line tool to verify that the server is reachable from the host machine.
