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

**URL:** <https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893>\
**Category:** Self-hosting\
**Created:** [2020 年9 月 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:** 4

<div class="post-metadata">

作者： ![aschrijver](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aschrijver/32/92004_2.png) [@aschrijver](https://meta.discourse.org/u/aschrijver)\
发布日期： [2020 年9 月 3 日 17:07 UTC](https://meta.discourse.org/t/discourse-with-other-websites-smtp-issue-end-of-file-reached/162893/4 "2020-09-03T17:07:07Z")

</div>

> [@aschrijver](#):
>
> `DISCOURSE_SMTP_PORT: 465`

解决方案看起来很简单。虽然我的服务商指出的是上述端口，但我通过 telnet 测试了 587 端口，发现它也能正常工作。于是我修改了 app.yml 并重新构建……一切运行正常 😃

---

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