Report this

What is the reason for this report?

Wordpress Won't Send Contact Form Emails

Posted on January 19, 2016

Hi,

I’ve only just noticed that a few of my Wordpress sites won’t send the emails from the Contact form. I am using a plugin called Contact Form 7.

I presume it is because Digital Ocean don’t install a SMTP server in the Wordpress 1 click installation.

Does anyone know how i could get these to work. Please bare in mind i am far from a server engineer :-) Thanks in advance for your help.



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.

Bloody DigitalOcean not say and and Bloody DigitalOcean interface not NOTICE that sendmail is always blocked, and you need to get permission with support agent. ;-)

SOLUTION!

The SMTP ports are blocked to avoid spam according to DO, the solution I found at least in wordpress is to create a free account ZOHOMAIL and then do all the DNS records configuration,

https://www.digitalocean.com/community/tutorials/how-to-set-up-zoho-mail-with-a-custom-domain-managed-by-digitalocean-dns

then I installed the WP SMTP plugin in Wordpress

https://cl.wordpress.org/plugins/wp-smtp/

I entered the SMTP configuration for Zoho Mail - SSL

https://www.zoho.com /es-xl/mail/help/zoho-smtp.html

, I ran a test and solved!

All Wordpress one-click droplets have Postfix, a mail server/MTA, installed. You can verify that it’s running by looking at the output of:

sudo ps wwaux | grep postfix | grep -v grep

Try running the following command on your droplet:

nc -z smtp.gmail.com 25

If it does not output the following, it’s possible that SMTP is blocked on your droplet. In that case, please file a support ticket and the support team will take care of it. Thanks!

Connection to smtp.gmail.com port 25 [tcp/smtp] succeeded!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.