Richie
(Richie Rich)
2025 年 9 月 12 日午前 7:54
1
Our Discourse is set to approve post count = 1
We use this to protect against spam as the first post from every new user requires moderator approval.
When a spam post is made and caught with this setting, we reject the post and delete the user with a single click:
This works great and protects our community members from ever seeing a single spam post
However, when we “Delete User”, Discourse unfortunately then emails that deleted user to tell them they were deleted.
We’d very much like to not be contacting our spammers
Can we turn this email notification off somehow?
「いいね!」 1
Richie
(Richie Rich)
2025 年 9 月 12 日午前 7:55
2
The issue there being someone on a mission now knows they’ve been deleted so they sign up and try again
Here’s the email the deleted spammer gets sent:
Related: Ruby hash syntax being displayed in emails sent to deleted users
Moin
2025 年 9 月 12 日午前 8:15
3
I don’t think the pull request that added the feature included a setting to turn it off.
main
← delete-email
opened 03:20AM - 21 Mar 25 UTC
When a user post is flag as spam and the moderator deletes the user, we should s… end email to the affected user.
I currently delete the user from their admin profile page instead of from the review queue. That seems to prevent the email.
「いいね!」 1
nolo
(Manuel)
2025 年 9 月 12 日午前 8:17
4
When you select “Delete and Block User”, shouldn’t that disable the email right away?
Moin
2025 年 9 月 12 日午前 8:25
5
No, it doesn’t. It also emails the user that their account was deleted. There is no difference between deleting with blocking and deleting without blocking.
「いいね!」 2
Richie
(Richie Rich)
2025 年 9 月 12 日午前 8:31
6
Interesting workaround, a few extra steps for our moderators though
I’m also not sure if they have permission to delete a user, I’d need to check that.
That’s disappointing, I really don’t want to be sending emails our spammers
Moin
2025 年 9 月 12 日午前 8:46
7
I click on the avatar in the review queue, click on the name in the user card to open the profile, and use the delete button on the right.
The really annoying part is that you still have to reject the post in the review queue.
「いいね!」 1