Report this

What is the reason for this report?

Issues with sending emails via SMTP on my Droplet

Posted on September 1, 2025

Hello everyone,

I’m currently facing an issue with sending emails from my Droplet. Each time I try to use SMTP, the connection fails.

After some research, I found this note:

NB! You cannot use EmailEngine to send emails from DigitalOcean droplets, as all mail ports are blocked by default.

It looks like all SMTP ports (25, 465, 587) might be blocked on Droplets by default.

👉 My questions are:

  1. Is there a way to unblock these ports or request DigitalOcean to allow outgoing SMTP connections?

  2. If not, what’s the best alternative to send emails from my application (e.g., using an external relay like SendGrid, Mailgun, etc.)?

Thanks in advance for your help.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.