# 用户电子邮件偏好被覆盖

**URL:** <https://meta.discourse.org/t/user-email-preferences-being-overriden/213031>\
**Category:** Support\
**Created:** [2021年十二月24日 05:01 UTC](https://meta.discourse.org/t/user-email-preferences-being-overriden/213031 "2021-12-24T05:01:52Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)\
**Post date:** [2022年六月28日 07:29 UTC](https://meta.discourse.org/t/user-email-preferences-being-overriden/213031/22 "2022-06-28T07:29:30Z")

</div>

啊，这事昨天也发生在我身上了，我可以确认这是故意的……

支持性的测试和注释表明了这一点

代码：

> <https://github.com/discourse/discourse/blob/aa38dcd26313e65229597099dddc115f37d3ee20/lib/email/receiver.rb#L1398-L1403>

测试：

> <https://github.com/discourse/discourse/blob/aa38dcd26313e65229597099dddc115f37d3ee20/spec/lib/email/receiver_spec.rb#L1029-L1035>

基本上，当我们向一个组发送电子邮件时，尽管我们将该选项设置为“从不”，但它总是会将其设置为“始终”。这样做的想法是，如果我们发送电子邮件，我们也希望在电子邮件收件箱中收到电子邮件回复。

这里的“差不多”的答案是，只需使用 Discourse 向组发送 PM。

---

_[View the full topic](https://meta.discourse.org/t/user-email-preferences-being-overriden/213031)._
