Hi,
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/
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: [“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.”
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
It’s possible that SMTP is blocked on your droplet. Run the following command to check if you can connect to port 25 on a remote server:
If that does not succeed, please open a support ticket so the team can take a look and help you out. Thanks!
Hello I have this problem, What can I do? Test Message Sent The result was: C:\wamp64\www\rabbit\wp-content\plugins\wp-mail-smtp\wp_mail_smtp.php:257:boolean false The full debugging output is shown below: PHPMailer Object ( [Version] => 5.2.22 [Priority] => [CharSet] => UTF-8 [ContentType] => text/plain [Encoding] => 7bit [ErrorInfo] => SMTP Error: Could not connect to SMTP host. [From] => my.grannies.food@gmail.com [FromName] => Grannies Food [Sender] => [ReturnPath] => [Subject] => WP Mail SMTP: Test mail to deleon.josejuan3@gmail.com [Body] => This is a test email generated by the WP Mail SMTP WordPress plugin. [AltBody] => [Ical] => [MIMEBody:protected] => This is a test email generated by the WP Mail SMTP WordPress plugin.
To: deleon.josejuan3@gmail.com From: Grannies Food Subject: WP Mail SMTP: Test mail to deleon.josejuan3@gmail.com Message-ID: 29edd326265f7ca1667075bd7a13c902@localhost X-Mailer: PHPMailer 5.2.22 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8
) The SMTP debugging output is shown below:
Thank You