# 手动将电子邮件添加到屏蔽邮件列表

**URL:** https://meta.discourse.org/t/manually-add-an-email-to-the-screened-email-list/142277
**Category:** Support
**Created:** [2020年二月21日 17:52 UTC](https://meta.discourse.org/t/manually-add-an-email-to-the-screened-email-list/142277 "2020-02-21T17:52:51Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![awlogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awlogan/32/62208_2.png) [@awlogan](https://meta.discourse.org/u/awlogan)
#### Post date: [2020年二月21日 17:52 UTC](https://meta.discourse.org/t/manually-add-an-email-to-the-screened-email-list/142277/1 "2020-02-21T17:52:51Z")

</div>

我想知道是否有一种方法可以将某个邮箱地址添加到屏蔽邮箱列表中，而无需该人拥有账户？

我们收到请求，要求从多个系统中删除某人的账户，以阻止其继续接收邮件。为了避免我们团队后续更多的工作，我们希望阻止他重新注册并提交更多请求。

我可以在我的其他系统中阻止他重新注册，但如果能同时阻止他在社区中注册就更好了。屏蔽邮箱似乎可以实现这一目的，但我没看到如何添加某人到该列表的方法，除非他已创建账户，然后我再将其封禁。

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [2020年二月21日 20:04 UTC](https://meta.discourse.org/t/manually-add-an-email-to-the-screened-email-list/142277/2 "2020-02-21T20:04:33Z")

</div>

看起来你可以从控制台完成操作。我刚刚测试了以下命令：

```ruby
./launcher enter app
rails c
ScreenedEmail.create(email: "problem@email.com")

```

之后，被屏蔽的邮件就会显示在你的管理界面中。如有需要，你可以从那里将其移除。

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2020年三月23日 05:18 UTC](https://meta.discourse.org/t/manually-add-an-email-to-the-screened-email-list/142277/3 "2020-03-23T05:18:57Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
