# 显示拒绝用户时将发送的电子邮件预览

**URL:** <https://meta.discourse.org/t/show-a-preview-of-the-email-that-will-be-sent-when-rejecting-users/231304>\
**Category:** Feature\
**Tags:** moderation, review-queue\
**Created:** [2022年六月28日 05:51 UTC](https://meta.discourse.org/t/show-a-preview-of-the-email-that-will-be-sent-when-rejecting-users/231304 "2022-06-28T05:51:38Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [2022年六月28日 05:51 UTC](https://meta.discourse.org/t/show-a-preview-of-the-email-that-will-be-sent-when-rejecting-users/231304/1 "2022-06-28T05:51:38Z")

</div>

这是关于在审核队列中选择 `Delete User...` 时出现的此模态框

> ![image](https://global.discourse-cdn.com/meta/original/4X/a/9/6/a969231fc134b6fc02dd95afcb4e726547d664f8.png)

如果工作人员能够看到在删除处于批准队列中的用户时实际发送到拒绝电子邮件中的内容，那将非常有帮助。预览可以很好地做到这一点，包括 `user_notifications.signup_after_reject.text_body_template` 以及嵌入的“Reason”字段。这是默认模板：

```plaintext
A staff member rejected your account on %{site_name}.

%{reject_reason}

```

我花了 4 年时间才故意拒绝我的测试用户，看看他们实际收到了什么电子邮件。它非常简陋且不友好，所以我修改了模板，使其更好并且更符合我们的用例。但如果我早知道我发送给人们的是什么，我四年前就会这样做了！

### 其他小的 UI 问题：

另外，在模态框上默认勾选“Send rejection email”可能会更好。或者可以对此进行配置。

---

<div class="post-metadata">

**Author:** ![T\_Disco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/t_disco/32/455171_2.png) [@T\_Disco](https://meta.discourse.org/u/T_Disco)\
**Post date:** [2025年七月11日 10:49 UTC](https://meta.discourse.org/t/show-a-preview-of-the-email-that-will-be-sent-when-rejecting-users/231304/2 "2025-07-11T10:49:53Z")

</div>

请有人为这个主题添加‘review-queue’和‘moderation’标签。谢谢。
