# E-mailmeldingen worden niet verzonden bij categorie wijziging voor gebruikers in mailinglijstmodus

**URL:** https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096
**Category:** Bug
**Tags:** notifications, email, mailing-list, fixed
**Created:** [15 mei 2024 om 16:03 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096 "2024-05-15T16:03:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [15 mei 2024 om 16:03 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/1 "2024-05-15T16:03:59Z")

</div>

Repo steps:

1. Set a user account to mailing list mode.
2. Post a topic in a secure category that the user doesn’t have access to (e.g. Staff)
3. Change the category to of the topic to a public category that the user _does_ have access to
4. The mailing list mode user will never get an email notification of the topic

This affects us on a regular basis because we typically jointly compose topics in a DRAFT mode in our staff category before pushing them out to our users. We also have several power users in our forum that use mailing list mode to make sure they “don’t miss anything” and of course, in this case, they end up missing some of our most public announcements.

#### More background:

Continuing the discussion from [Mailing list mode user not getting emails and not appearing in skipped\_email\_logs](https://meta.discourse.org/t/mailing-list-mode-user-not-getting-emails-and-not-appearing-in-skipped-email-logs/305609/2):

> [@Mailing list mode user not getting emails and not appearing in skipped\_email\_logs](https://meta.discourse.org/t/mailing-list-mode-user-not-getting-emails-and-not-appearing-in-skipped-email-logs/305609/2):
>
> I think we’ve narrowed this down to when there is a topic that was started in a “secured” category (like Staff) and then moved to a public one. So, we’ll draft something and then put it in a public category and those are the alerts these folks are missing.

---

<div class="post-metadata">

### Author: ![wesochuck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wesochuck/32/108706_2.png) [@wesochuck](https://meta.discourse.org/u/wesochuck)
#### Post date: [24 mei 2024 om 21:46 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/2 "2024-05-24T21:46:29Z")

</div>

Just updating that I’ve confirmed this is still an issue in version: 3.3.0.beta2

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [16 augustus 2024 om 15:10 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/3 "2024-08-16T15:10:51Z")

</div>

We have found the issue. This case is simply never accounted for.

A solution is to call `:notify_mailing_list_subscribers` from the `NotifyCategoryChange` job. I have just verified that this is working.

Team, would you accept a PR for this or is this plugin territory?

---

<div class="post-metadata">

### Author: ![lindsey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lindsey/32/318210_2.png) [@lindsey](https://meta.discourse.org/u/lindsey)
#### Post date: [20 augustus 2024 om 14:03 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/6 "2024-08-20T14:03:49Z")

</div>

> [@RGJ](#):
>
> Team, would you accept a PR for this or is this plugin territory?

Sure, we’d be happy to review a PR for this update. Thanks!

---

<div class="post-metadata">

### Author: ![jyuvaraj03](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jyuvaraj03/32/447756_2.png) [@jyuvaraj03](https://meta.discourse.org/u/jyuvaraj03)
#### Post date: [9 september 2024 om 20:30 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/8 "2024-09-09T20:30:56Z")

</div>

I have raised a [PR](https://github.com/discourse/discourse/pull/28811) for this fix!

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [11 oktober 2024 om 12:48 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/11 "2024-10-11T12:48:09Z")

</div>

Thanks @RGJ / @jyuvaraj03 - I’ve merged the PR ✅

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [14 oktober 2024 om 06:00 UTC](https://meta.discourse.org/t/email-notifications-dont-get-sent-on-category-change-for-mailing-list-mode-users/308096/13 "2024-10-14T06:00:20Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
