Richie
(Richie Rich)
12 september 2025 om 07: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 like
Richie
(Richie Rich)
12 september 2025 om 07: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
12 september 2025 om 08: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 like
nolo
(Manuel)
12 september 2025 om 08:17
4
When you select āDelete and Block Userā, shouldnāt that disable the email right away?
Moin
12 september 2025 om 08: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 likes
Richie
(Richie Rich)
12 september 2025 om 08: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
12 september 2025 om 08: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 like