Hello Sir, thanks for your answer
Sadly, it didn’t fix my issue, and each time I try to send a test email I get this error.
There was a problem while sending the test email.
Could not connect to the SMTP host.
This means your web server was unable to connect to “mywebsite”.
Typically this error is returned for one of the following reasons:
-SMTP settings are incorrect (wrong port, security setting, incorrect host).
-Your web server is blocking the connection.
-Your SMTP host is rejecting the connection.
Recommended next steps:
- Triple check your SMTP settings including host address, email, and password, port, and security.
- Contact your web hosting provider and ask them to verify your server can connect to “mywebsite” on port 465 using ssl encryption. Additionally, ask them if a firewall or security policy may be preventing the connection - many shared hosts block certain ports.
Note: this is the most common cause of this issue.
- Contact your SMTP host to confirm you are using the correct username and password.
- Verify with your SMTP host that your account has permissions to send emails using outside connections.