I can’t seem to send emails from contact forms 7 on my WP installation.
What’s the solution?
I have a droplet from the marketplace with WP running on Ubuntu 18.04
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.
Greetings!
Great topic. Sending email is not as easy as it used to be. In some environments, certain things are pre-configured for you to facilitate this (like a shared hosting environment where hostname/PTR are already configured). I highly recommend that you run far away from the idea of sending without an SMTP provider, because I have a unique amount of experience with running mail servers and I do not wish it on anyone. You just want to send email, not make a career out of it. This is increasingly difficult due to spam reduction efforts at all major email providers. Something like this would potentially be a great solution:
https://wordpress.org/plugins/gmail-smtp/
If you do want to run your own mail server for sending email, you will at bare minimum need this:
Jarland
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