# 授予管理员/版主权限时，如何阻止除管理员确认邮件之外的其他邮件？

**URL:** https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452
**Category:** Support
**Created:** [2026 年6 月 3 日 17:41 UTC](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452 "2026-06-03T17:41:51Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2026 年6 月 4 日 22:07 UTC](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452/2 "2026-06-04T22:07:11Z")

</div>

我认为将 `disable_emails` 设置为 `yes` 而不是 `non-staff` 可能会生效，因为有些邮件会绕过该设置，而 `admin_confirmation_message` 就是其中之一

> <https://github.com/discourse/discourse/blob/751a1ce43c253e5e59e8e590ade3444cad014692/lib/email/sender.rb#L15C1-L23C2>

---

_[View the full topic](https://meta.discourse.org/t/how-to-prevent-emails-other-than-admin-confirmation-when-granting-admin-moderator-access/404452)._
