Question

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

Posted February 2, 2021 146 views
WordPressEmailDigitalOceanDigitalOcean 1-Click Apps Marketplace

Hi,

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!

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
1 answer

Hello,

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