The discussion revolves around an issue with Mailing List Mode in Discourse, where emails are not being sent to most users despite correct settings. merefield initially set both Email Digests and Mailing List Mode to TRUE via the rails console, resulting in inconsistent email delivery—some users received digests, others received mailing list emails. notriddle warns against this approach due to undefined behavior. merefield later discovers that mailing list emails are not being sent even after reverting settings, suspecting a deeper database issue. neil explains that digests are suppressed if a user was recently emailed. merefield eventually identifies the root cause: mailing_list_frequency is set to zero for affected users, and correcting it to ‘1’ resolves the issue.
to TRUE for every user via the rails console, if you look at the email log in Admin you see a mix of mailing_list and digest emails. Some users get a new email per post, whilst others seem to receive a complete digest.
Is this expected?
I’m wondering if this is somehow related to when a user last visited the site?
Yep, as I’ve discovered … it seems to have broken something …
Now despite setting email_digests to FALSE for all users and mailing_list_mode to TRUE (confirmed in Data Explorer), its failing to send mailing list emails for most users … how to recover? Is something set deeper in the database/triggered when user changes these settings themselves?