How to stop/block notifications/email being sent to specific external user
Do not want to Silence the user
Would adjusting their email preferences to âneverâ work in this case?
Wouldnât that also block the emails where the user is specifically tagged or the replies to his post?
In your SS yes that would disable all email notifications
I do that when I create a test user with a fake email. I disable all email triggers in the user preferences.
Now if youâre looking for them not to receive for example emails for new comments or new topics in a category or topic. You want to goto preferences and remove any âwatchedâ categories, tags, topics as Watched will send notifications and watch first post will only send an email for the first post of topic
Ah yes, that would indeed stop them from receiving any email notifications. I hadnât realised you only wanted to prevent certain types.
I donât think this will cover specific topics that are set to Watching at the topic level. For those the user would need to change the notification level within the topic itself (or alternatively an admin could impersonate the account and do it instead. If there are a lot then there are workarounds if you need them).
Yeah can see that being a possible nightmare. In preferences though you can manage tags and categories.
Though I would hope a member wouldnât set individual topics to watch. I imagine even with impersonate that would be quite the undertaking. But imagine there are command line options to a bulk unwatch of topics?
A possibility using the UI could be to temporarily bump their trust level to TL4, and then impersonate. This should allow you to use the bulk actions to change the topics notification levels en masse. (And then remove the TL bump)
Using the filtered list for only those set to Watching could also help too {YourSite}/latest?state=watching
Is there a way that it can be checked what all the topics the user has opted to receive the notifications for
Is this the only section (screenshot below)
If youâre impersonating the user then the filtered list should work:
Otherwise I think youâd need a data explorer query. Something like this perhaps:
-- [params]
-- user_id :user
SELECT tu.topic_id
FROM topic_users tu
JOIN topics t ON t.id = tu.topic_id
WHERE tu.user_id = :user
AND tu.notification_level = 3
AND t.archetype <> 'private_message'
AND t.deleted_at IS NULL