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 wp_mail to send email. http://codex.wordpress.org/Function_Reference/wp_mail
I am using WP MAIL SMTP plugin. So that wp_mail function uses SMTP instead of the standard mail(). https://wordpress.org/plugins/wp-mail-smtp/
Was told smtp.live.com blocks digitaloceans IP thats fine.
Error message from WP MAIL SMTP plugin: [“authenticate”]=> string(35) “SMTP Error: Could not authenticate.” [“connect_host”]=> string(43) “SMTP Error: Could not connect to SMTP host.” [“data_not_accepted”]=> string(30) “SMTP Error: data not accepted.”
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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.