What app would I need to install on ubuntu to send out e-mails from the different domains on my server?

Let’s say I host a few sites like,, and And they’re all wordpress sites and on one single droplet.

What app(s) do I need to install so that I can send e-mails from to new users of that site and also send e-mails from to new users of that site and also send e-mails from to new users of that site?

Submit an answer
Answer a question...

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.

Andrew Herrington
DigitalOcean Employee
DigitalOcean Employee badge
August 10, 2016
Accepted Answer

Hey there,

Running a mail server on your own is not always an easy process. We have an article/tutorial on this here:

If you’ve read that and still want to run a mail server on your own, I would suggest checking out Mailinabox. We have a great tutorial on setting it up here:



Site Moderator
Site Moderator badge
November 1, 2021

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 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, Alex

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.