# 关于discourse-setup的拟议更改，因为Digital Ocean屏蔽了出站SMTP

**URL:** <https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778>\
**Category:** Development\
**Created:** [2017 年7 月 25 日 13:30 UTC](https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778 "2017-07-25T13:30:12Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

作者： ![Architect](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/architect/32/520575_2.png) [@Architect](https://meta.discourse.org/u/Architect)\
发布日期： [2025 年5 月 8 日 04:38 UTC](https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778/25 "2025-05-08T04:38:04Z")

</div>

在数字海洋服务器上设置新的 Discourse 实例时，我最近遇到了这个问题。支持人员说端口 587、465 和 25 不受支持，但 2525 应该可以工作。将 SMTP 设置为端口 2525，但使用 Brevo 发送激活电子邮件仍然不起作用，可能是其他问题。

看起来 SendGrid 可能是更好的选择，并且/或者与该服务器提供商更好地支持。数字海洋支持人员写道：

“您也可以使用 SendGrid 的 REST API，它允许您通过 HTTP 请求发送电子邮件，而不是传统的 SMTP 协议（如果适合您），或者使用另一个第三方发送服务。”

我不知道 REST API 如何与 HTTP 一起工作，这似乎比 SMTP 更好？

---

_[View the full topic](https://meta.discourse.org/t/proposed-changes-to-discourse-setup-because-digital-ocean-blocks-outbound-smtp/66778)._
