Report this

What is the reason for this report?

Could you unblock port 587 on my droplet

Posted on October 3, 2025


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!

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.

SMTP ports 25, 465, and 587 are blocked on Droplets to prevent spam and other abuses on our platform. This block applies to all Droplets by default and includes traffic passing through a Reserved IP address.

Even if SMTP were available, we strongly recommend against running your own mail server, as self-hosted mail servers are difficult to secure and maintain, frequently get flagged as spam, and require constant monitoring to protect your IP address. Dedicated email platforms manage these challenges for you.

To send mail from DigitalOcean, we recommend using EmailEngine, available through the Marketplace as a 1-Click App.

Heya, @woutervanooijen

The SMTP ports are blocked to prevent SPAM. I’ll recommend you to use a third-party service like SendGrid, Mailgun or EmailEngine to send out your emails.

https://docs.digitalocean.com/support/why-is-smtp-blocked/

Regards

The developer cloud

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

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.