Cloudflare + WP Mail SMTP + MXroute

I set up my DNS and other settings to Cloudflare, I created a domain in my MXroute, and finally, I connected my email to outlook and everything seems to work properly.

But, when I’m trying to set my WordPress website to use the WP Mail SMTP plugin using the same settings (like these I’m using on Outlook) sent to me when I created my account in MXroute, I get the following error:

Could not connect to the SMTP host.

This means your web server was unable to connect to taylor.mxrouting.net.

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.

These are the settings I’m using:

settings:

SMTP HOST: taylor.mxrouting.net
SSL: Enabled
Port: 465
Authentication: Enabled
SMTP Username: My full email address
SMTP Password: My email password

I already tried using port 587 instead of port 465 but that did not work. I also tried TLS and ports 26 and 2525 but with no luck at all.

Keep in mind as I already mentioned above that the SMTP set up working fine on Outlook. The issue appears only on my WordPress site.

Any help on this would be appreciated.

The quick answer that usually hits the target is that the hosting provider may require you to ask them to unblock SMTP.

You can also check your outbound firewall settings on the server if it’s a VPS/dedi to make sure the ports are open.

Thanks for the quick response Jarland, I’ll try and I’ll let you know the result!