WordPress SMTP DigitalOcean Issue
Has anyone had an issue with using WP Mail SMTP on digitalocean servers?
I created a contact form plugin for my wordpress website.
I am using the wpmail to send email.
I am using WP MAIL SMTP plugin. So that wp_mail function uses SMTP instead of the standard mail().
local: (smtp.live.com) Sent
live: (smtp.live.com ) Failed
Was told smtp.live.com blocks digitaloceans IP thats fine.
local: (smtp.gmail.com) Sent
live: (smtp.gmail.com) Failed
Error message from WP MAIL SMTP plugin:
string(35) "SMTP Error: Could not authenticate."
string(43) "SMTP Error: Could not connect to SMTP host."
string(30) "SMTP Error: data not accepted."
local: (smtp.mandrillapp.com) Sent
Live: (smtp.mandrillapp.com) Failed
Same Error as gmail.
I've gone onto gmail and EVEN mandrill and it's not working live but works locally. So i am unsure what is the difference on my local ubuntu 14.04 machine when compared to my live droplet ubuntu 14.04 machine when i set them up the same way using the guides found on digital ocean.
Anyone else had a problem with this?
Does someone know of an alternative to WP SMTP Plugin so i can rule out or determine whether the plugin has an issue when used from my droplet.
Could port 587 or 465 be blocked on my droplet? Could someone please tell me how i can check and then how i can open the ports.