# 最新版本的Discourse未发送邮件

**URL:** <https://meta.discourse.org/t/latest-version-of-discourse-not-sending-email/314192>\
**Category:** Self-hosting\
**Tags:** email\
**Created:** [2024年六月28日 15:58 UTC](https://meta.discourse.org/t/latest-version-of-discourse-not-sending-email/314192 "2024-06-28T15:58:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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:** [2024年六月28日 21:20 UTC](https://meta.discourse.org/t/latest-version-of-discourse-not-sending-email/314192/3 "2024-06-28T21:20:05Z")

</div>

> [@malee](#):
>
> 从命令行直接发送电子邮件时收到“无法解析主机名”错误。

如果您收到“无法解析主机名”，听起来就像是主机名无法解析，这是一个问题。

`rake emails:test[you@somewhere.com]` 是否有效？另请参阅 [新 Discourse 安装上的电子邮件故障排除](https://meta.discourse.org/t/troubleshoot-email-on-a-new-discourse-install/16326)

---

_[View the full topic](https://meta.discourse.org/t/latest-version-of-discourse-not-sending-email/314192)._
