# SMTP错误：必须先发出STARTTLS命令

**URL:** <https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050>\
**Category:** Self-hosting\
**Created:** [2021年二月24日 21:16 UTC](https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050 "2021-02-24T21:16:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [2021年十一月22日 09:37 UTC](https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050/8 "2021-11-22T09:37:18Z")

</div>

抱歉。我知道那有多令人沮丧。

> [@dbrgn](#):
>
> 也许 `discourse-doctor` 坏了？

有可能。它会做一些事情来尝试调试问题所在，所以可能是它使用的逻辑在你的情况下是错误的。

还有一个 rake 任务，对你来说可能更好。

```
    rake emails:test[x@y.com]

```

你是否遵循了 [新 Discourse 安装上的电子邮件故障排除](https://meta.discourse.org/t/troubleshooting-email-on-a-new-discourse-install/16326)？

---

_[View the full topic](https://meta.discourse.org/t/smtp-error-must-issue-a-starttls-command-first/181050)._
