How to set up Email for the Wordpress One Click Install.


I recently created a Wordpress install using the “Wordpress One Click Install” app.

Unfortunately, on this version of Wordpress the only way for other users to register themselves is via an “confirmation email” flow, which in itself, is okay, but the emails aren’t being delivered.

I’m unfamiliar with how Wordpress configures email servers tbh, but from some googling, it seems to fall back to PHP’s mail() function. I installed a plugin to check this, and it verifies it’s using sendmail on the server.

I checked /var/log/mail.log, and see the sent emails, but they seem to be rejected by gmail.

Also, I would rather the emails be send from the proper domain (currently the logs mention being sent from my personal email address that I used for the root/admin account on Wordpress).

Any guidance appreciated!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

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.


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 SendGrid’s SMTP service. 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, Bobby