Question

Wordpress Contact Form 7 not sending emails

Posted September 20, 2020 964 views
WordPressEmailUbuntu 16.04

I have a default Wordpress installation with Contact Form 7 plugin on an Ubuntu droplet. Additionally I also have mail-utils setup (so that mail works). When I fill up the contact form and click Send I get a response “Thank you for your message. It has been sent.” but I didn’t receive any email at all.

How do I go about troubleshooting this problem?

Please help. Thanks!

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.

×
Submit an Answer
2 answers

Hey, @philwee,

Could you try using the contact form and after that do tail -n 20 /var/log/messages and post the output?

Best,
Dennis

Hello all,

What I could suggest here is using an SMTP plugin for your WordPress site.

That way you will be able to specify an SMTP server with authentication which your emails would be going through. You could for example use Gmail’s SMTP settings. This would drastically increase the delivery rate of your emails as well compared to using plain PHP mail.

I’ve been using this plugin for a while now and it works very well: Easy WP SMTP

Hope that this helps!
Regards,
Alex