# 启用向管理员/版主组发送外部电子邮件

**URL:** <https://meta.discourse.org/t/enable-sending-external-emails-to-admin-moderator-groups/243128>\
**Category:** Feature\
**Tags:** email\
**Created:** [2022年十月27日 22:42 UTC](https://meta.discourse.org/t/enable-sending-external-emails-to-admin-moderator-groups/243128 "2022-10-27T22:42:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)\
**Post date:** [2026年四月24日 01:17 UTC](https://meta.discourse.org/t/enable-sending-external-emails-to-admin-moderator-groups/243128/2 "2026-04-24T01:17:14Z")

</div>

这可以通过 Rails 控制台实现：

> [@Allow email in for moderators, staff, and admins](https://meta.discourse.org/t/allow-email-in-for-moderators-staff-and-admins/212147/3):
>
> Well, since nobody told me that was completely stupid, I’ve gone and tested this rails command on a little used instance. And it seems to work (so far)! bangbang Use at your own risk and backup first To add an email-in address Group.where(name: "=groups.name=").update(incoming\_email: "=groups.name=@=domain=") To remove an email-in address Group.where(name: "=groups.name=").update(incoming\_email: nil)

但我认为，对于无法访问控制台的用户来说，将其作为核心功能之一将会非常有用。

---

_[View the full topic](https://meta.discourse.org/t/enable-sending-external-emails-to-admin-moderator-groups/243128)._
