Is it better to use a WP SMTP plugin or the SMTP addon from Cloudways?


(Lucash) #1

I recently migrated to Cloudways (Vultr) from a shared hosting provider. Up to this point, I have been using the Easy WP SMTP plugin to send mail through my own SMTP provider. I’m currently experiencing a problem with a plugin that requires Postmark service to send new post notifications and post-via-mail functionality. This prompts me to wonder:
Is it better to enable the Cloudways SMTP add-on and get rid of the plugin?


(Lucash) #2

Just following up: I did try the SMTP add-on today. Unfortunately, it doesn’t work with Office 365 as the SMTP provider. I suppose it might be because I can’t make it use TLS? Or maybe I set it up wrong.


(Dillyn Barber) #3

It is better to set it up via CloudWays, though you might not have much luck with Office 365, because it is not a true cloud platform and relies heavily on other machine and server services to actually function. Just use a Gmail account or other SMTP service, and I would highly recommend looking into G Suite over Office 365… Not only for a better price, but G Suite is just sooo much better and has more features included besides Gmail, Docs, Sheets, Slides, and Forms. Sorry for getting off-topic, have you tried port 25 or 587 over TLS? Are you using a reseller of Office 365 that uses different settings/naming or did you subscribe directly from the Office 365 website?


(Mustaasam Saleem) #4

Hi @lucash

Since you are using Vultr that has port 25 blocked by the provider itself. You should set up an SMTP plugin. We have written two guides, kindly have a look and let me know if you need any further assistance.



(Lucash) #5

Thanks, Dillyn. I enjoyed the opinion on G Suite. Our org recently switched to O365 from Google. I don’t usually miss G Suite, but there are a few things Google does better.

You asked, “have you tried port 25 or 587 over TLS?”

I tried port 587, as I think that’s what Microsoft requires. The trouble seems to be that I can’t specify TLS in the SMTP add-on.


(Lucash) #6

Thanks, Musaasam. I had a look at your guides.

As I mentioned above, I’m not able to specify TLS in the Cloudways add-on. I did use port 587. For now, I’m back to using a WordPress SMTP plugin. That has been reliable so far, but it does seem to take longer to complete an action like submitting a form which fires an email.


(Dillyn Barber) #7

You may need to try 465 over SSL. It could be a configuration problem or bug with TLS from cloudways. I’ve noticed some similarities with other hosts like SiteGround. I have to use 465 over SSL with them as well because TLS over Guzzle almost never works for some reason, haven’t figured out why yet.


(Faizan khan) #8

Hi,

Hope you are doing good. Port 25 is blocked on Google Compute Engine and Vultr hosted servers. Secondly, TLS and SSL connection depends upon your SMTP provider. Cloudways works fine with all 25(except GCE and Vultr), 587,465, 2525. You can easily check which port your external SMTP host is allowing using the following steps .

  1. Connect your server via SSH
  2. telnet smtp.provider.com
    e.g telnet smtp.gmail.com 587

If it is showing you 220 response, it means that host allows connection on that port. You can simply use that port in SMTP plugin or SMTP addon.

P.S enter quit at the end of telnet command otherwise it will not close the telnet session

Kind Regards


(Mustaasam Saleem) #9

Hi @lucash

Can you please try out what @faizan.khan suggested?


(Mike C) #10

I am using Elastic Email, but don’t you have to have the addon enabled at Cloudways, AND have an smtp plugin installed on the wordpress site? That’s how mine’s set up. Are you saying the WP plugin isn’t needed?


(Denis Gomes Franco) #11

Too late to the party :wink:

If you’ve set up SMTP at the addon, then you don’t need to use an SMTP plugin on Wordpress. When the SMTP addon is configured, any PHP app that uses the mail() function will automatically redirect to the SMTP server configured there.

Also, Elastic Email is a good choice as their default port is 2525.


(Mike C) #12

@eu1, Kind of confused as to what you’re saying here.

This is what my SMTP looks like on Cloudways, but there’s no authentication information, just a host and port.

I’m using the plugin WP Mail SMTP on my wordpress site, and here’s a screenshot of its configuration (that is working)

Notice the port is 465, and the host is the same. And of course there’s username and password credentials. So I’m really confused about the SMTP setting in CloudWays, and even more confused that you’re saying I don’t need the WP plugin??


(Denis Gomes Franco) #13

Your Cloudways settings screen looks like this because you’ve already set the authentication information. If you need to change them, you have to click Remove so you can enter them again.

With that you don’t really need to use an SMTP plugin with Wordpress, but you can use one anyway if you want to.


(Lucash) #14

Thanks to all of you for your input.

I just tried this again and still can’t get emails to send using my Office 365 SMTP account. Back to a WP plugin. I wonder if it has to do with the TLS demanded my Office 365. I know it would work with Gmail, but I’ve set up a custom alias in Office 365 that integrates with the rest of my workflow, so I’ll stick to it.

It’s a pity, because the WP plugin seems to send slowly.


(Mike C) #15

Why isn’t authentication needed in the cloudways setup for smtp?
And why is the port different in the wordpress plugin and the cloudways setup, but the host is the same?

Can I stop using the wordpress plugin?


(Denis Gomes Franco) #16

Authentication is ALWAYS needed. As per your screenshot, it won’t show auth info because it was already entered before. If you need to change it, you have to click REMOVE and then set it up again.

If you do that, Cloudways will ask for auth info, port, hostname, etc. You can stop using the plugin if you set up SMTP correctly.


(Silvasoft) #17

Hey Lucash, I have had the exact same issue as you have I think. Using SMTP addon I couldn’t send e-mails at all for Office 365 SMTP settings. Using a WP plugin it was terribly slow and slowed down my checkout proces with maybe 30 seconds for example.

So I contacted Cloudways support and now they have fixed something on the server. Don’t know what, but now the SMTP addon is working on the server and e-mails are delivered fast over Office 365 SMTP. Suggest you / anyone else having this issue contact Cloudways about this as well. Hopefully they will fix this by default in the future. My Ticket # is 92947 if anyone needs to refer Cloudways to this issue.


(Lucash) #18

Thank you, @contact9! I will try that.