# ユーザーは、メール通知を送信しないようにすべて設定されている場合でも、メールを受信しています

**URL:** <https://meta.discourse.org/t/users-are-receiving-emails-even-when-everything-is-set-up-to-not-send-email-notifications/259835>\
**Category:** Product Support\
**Created:** [2023 年 3 月 29 日午前 11:12 UTC](https://meta.discourse.org/t/users-are-receiving-emails-even-when-everything-is-set-up-to-not-send-email-notifications/259835 "2023-03-29T11:12:28Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Crius](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/crius/32/317214_2.png) [@Crius](https://meta.discourse.org/u/Crius)\
**Post date:** [2023 年 3 月 29 日午前 11:26 UTC](https://meta.discourse.org/t/users-are-receiving-emails-even-when-everything-is-set-up-to-not-send-email-notifications/259835/3 "2023-03-29T11:26:59Z")

</div>

念のため、必要としている人がいるかもしれないので共有します。私はRubyについては何も知りませんが、このフォーラムの古いトピックは時代遅れのようです。

現在、すべてのユーザーに対してそれらのオプションを適切にリセットするためのpsqlクエリは次のとおりです。

```plaintext
UPDATE user_options SET email_messages_level = 2, email_level = 2, email_previous_replies = 2;

```

---

_[View the full topic](https://meta.discourse.org/t/users-are-receiving-emails-even-when-everything-is-set-up-to-not-send-email-notifications/259835)._
