# Discourse SMTP 错误

**URL:** <https://meta.discourse.org/t/discourse-smtp-error/169762>\
**Category:** Self-hosting\
**Created:** [2020年十一月10日 18:31 UTC](https://meta.discourse.org/t/discourse-smtp-error/169762 "2020-11-10T18:31:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2020年十一月10日 20:01 UTC](https://meta.discourse.org/t/discourse-smtp-error/169762/2 "2020-11-10T20:01:54Z")

</div>

> [@NamVr](#):
>
> 测试邮件发送失败。请仔细检查您的邮件设置，确认主机未阻止邮件连接，然后重试。

您是否检查过主机是否阻止了到 `mail.domain.com` 端口 465 的出站连接？

如果您的邮件服务器期望将 `forums@domain.com` 作为通知邮箱，您是否在 Discourse 中更改了该设置？

哦，等等。您已将 Discourse 配置为使用端口 587，但您提供的截图显示的是端口 465，因此您可能需要告知 Discourse 使用该端口。

您是否查看了 [在新安装的 Discourse 上排查邮件问题](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326)？

---

_[View the full topic](https://meta.discourse.org/t/discourse-smtp-error/169762)._
