Report this

What is the reason for this report?

Can you make it possible to send via SMTP using ports 465 and 587

Posted on March 9, 2026

We need to be able to send emails via SMTP from the site. Now both ports 465 and 587 are blocked and we cannot send messages through them. How can this be handled? We need to send messages from the website using our corporate email.



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.

Hey 👋

Yep, default SMTP ports are blocked by default on new accounts to prevent abuse.

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

Your best bet is to either:

  • Reach out to DigitalOcean support and ask if they can review your account and unblock it (they don’t always do it, but worth a try),

  • Or use a service like SendGrid, Mailgun, or Postmark, much better for deliverability anyway. They allow SMTP over API, which is a good workaround and better for performance too.

Some SMTP providers also support alternative ports like 2525, so you might want to check if Gmail does (last I checked, it doesn’t, but maybe worth double-checking).

Let me know how it goes!

Heya @michaelgreen

You can reach out to the support team and request to unblock the port. I will, however, recommend you to use an external SMTP provider such as SendGrid, Mailgun, or Postmark.

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.