# 电子邮件无法正常工作 (SSL\_connect 返回=1)

**URL:** <https://meta.discourse.org/t/email-not-working-ssl-connect-returned-1/229934>\
**Category:** Self-hosting\
**Created:** [2022年六月8日 16:48 UTC](https://meta.discourse.org/t/email-not-working-ssl-connect-returned-1/229934 "2022-06-08T16:48:56Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)\
**Post date:** [2022年六月14日 14:53 UTC](https://meta.discourse.org/t/email-not-working-ssl-connect-returned-1/229934/9 "2022-06-14T14:53:30Z")

</div>

[新 Discourse 安装的电子邮件故障排除](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326) 指南中有这样一段内容，或许会有帮助？

> [@Discourse](#):
>
> ## 电子邮件 SMTP 端口选择（使用 465？）
> 
> 在电子邮件故障排除的初始阶段，能够[使用 `telnet` 进行身份验证](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326/114) 非常重要。
> 
> 端口 465（SSL 上的 SMTP）在很大程度上已被弃用，转而使用 25 端口上的 STARTTLS。当事情似乎不按预期工作时，您可能需要尝试其他端口，例如[端口 2525](https://pepipost.com/blog/25-465-587-2525-choose-the-right-smtp-port/) 或端口 587（邮件提交）。

---

_[View the full topic](https://meta.discourse.org/t/email-not-working-ssl-connect-returned-1/229934)._
