Question

How to enable and access SMTP in DigitalOcean Droplet?

Posted January 20, 2020 2.7k views
Email

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?

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.

×
1 answer

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 -
https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-on-ubuntu-18-04

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

by Justin Ellingwood
by Hanif Jetha
Postfix is a popular open-source Mail Transfer Agent (MTA) that can be used to route and deliver email on a Linux system. It is estimated that around 25% of public mail servers on the internet run Postfix. In this guide, we'll teach you how to get up and running quickly using the Postfix mail server.
Submit an Answer