Hi @eminegok1
I am glad to help. Please kindly note that the error message is returned by your SMTP provider:
The error “SMTP Error: Could not connect to SMTP host” you get, usually means an issue with your SMTP credentials or some error during the authentication process.
It is critical to make sure you have the right credentials. When you get a chance, please double-check the password you’re using with the SMTP connection to be sure it’s correct.
In case it helps, please check out our step-by-step guide on setting this up here: https://wpmailsmtp.com/docs/how-to-set-up-the-other-smtp-mailer-in-wp-mail-smtp/
You can then test your server credentials in an isolated environment to discard/confirm any issues local to your site. A tool like this https://smtpserver.com/smtptest would do the job.
If this doesn’t resolve the issue, you can contact your email hosting provider and share the error message with them, as it has to do with authentication on their server.
The SMTP host provider will be able to provide the following details that you can then use when connecting the mailer’s SMTP server.
- SMTP Host: The outgoing server listed in your email provider’s SMTP settings.
- Encryption: The type of encryption used for the SMTP connection (TLS, SSL, or none).
- SMTP Port: The port your provider uses for SMTP connections.
- Authentication: Turns authentication on or off. Most providers require it to be on.
- SMTP Username: Your email address.
- SMTP Password: You may need to generate an app password for your account, depending on the host.
Please keep me posted
Hey @eminegok1
We haven’t heard back from you in a few days, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.
Thanks!