Question

Woocommerce wouldn't send emails from LAMP/Wordpress droplet

Hey everyone!

I installed several websites on my droplet, then tried sending a test email from terminal, got a recommendation to install

apt-get install mailutils

After that, emails do come through to my gmail from root. However, my woocommerce is still unable to send emails. Where do I look for the problem?


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.

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

Thank you! Back in may i solved the problem by uninstalling mailutils and installing a different application

Hi @moorka,

Great news! Woocommerce has a great document that describes this process:

https://docs.woocommerce.com/document/configuring-woocommerce-settings/#section-6

Let us know if that gets you sorted out!