# 与其他网站的讨论，SMTP问题：到达文件结尾

**URL:** <https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893>\
**Category:** Self-hosting\
**Created:** [2020年九月3日 08:10 UTC](https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893 "2020-09-03T08:10:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)\
**Post date:** [2020年九月3日 18:15 UTC](https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893/5 "2020-09-03T18:15:48Z")

</div>

在我看到这一点之前，我本来要推荐这个更改。

端口 465 是 SMTP-over-SSL，已被弃用。  
端口 587 是 MSA 端口（邮件提交代理），通常支持 STARTTLS（从明文连接升级到 TLS 连接）。

当您在配置中使用 465 时，Discourse 试图以明文方式与 SSL 端口通信。

---

_[View the full topic](https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893)._
