# 重构邮件：测试 rake 任务输出

**URL:** https://meta.discourse.org/t/reworking-the-emails-test-rake-task-output/387286
**Category:** Development
**Created:** [2025年十月31日 15:54 UTC](https://meta.discourse.org/t/reworking-the-emails-test-rake-task-output/387286 "2025-10-31T15:54:44Z")
**Posts on this page:** 1
**Showing post:** 21

<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: [2025年十二月23日 17:09 UTC](https://meta.discourse.org/t/reworking-the-emails-test-rake-task-output/387286/21 "2025-12-23T17:09:54Z")

</div>

是的。

但无论如何，它都会起作用。在不更改任何设置的情况下，只有在服务器提供 STARTTLS 时才会使用它。

唯一需要明确禁用它的情况是：

- 服务器提供 STARTTLS
- 不使用 STARTTLS 发送的邮件可以正常工作
- 使用 STARTTLS 发送的邮件会失败

---

_[View the full topic](https://meta.discourse.org/t/reworking-the-emails-test-rake-task-output/387286)._
