How to enable and access SMTP in DigitalOcean Droplet?

Hi! I was Using DO Droplet for website and APP. Now, I want to use SMTP credentials to trigger emails. how and where I can find it?

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.

Hi @techietech,

In order to use SMTP with DigitalOcean, you’ll need to install such a service. I’ll recommend using Postfix for that matter. Luckily, DigitalOcean have a really good guide on how to install and configure it -

If you don’t want to use Postfix, then I’ll recommend checking out Exim, it’s really popular if not as popular as Postfix and it will get the job done.

Regards, KDSys

Hello there,

Our new disabled-by-default SMTP policy went into effect on June 22, 2022, for all new accounts. While our Security team will still be monitoring spam activity, we believe this decision will benefit our customers and the broader internet community in our shared quest to minimize spam.

However, sending email via API is available from partners’ services that you can find in the Marketplace or other 3rd party services.