Email is NOT sent to roles

Created on 3 November 2017, about 7 years ago
Updated 24 September 2024, 2 months ago

Emails do not seem to be sending to the users of the selected roles. Rather, only a single email is being sent to the site email address.

🐛 Bug report
Status

Active

Version

3.6

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇳India renukakulkarni

    This issue exists in version 8.x-3.6 as well.

    When the 'Disable the site email address' and 'Email the author?' configurations are turned off, the selected roles do not receive any emails. Emails are only sent to roles when either of the above-mentioned configurations is enabled.

    The email notification received by a user with the selected role has either the 'site email address' or the 'author email address' (whichever is enabled in the notification configuration) in the 'to' field.

  • 🇪🇸Spain penyaskito Seville 💃, Spain 🇪🇸, UTC+2 🇪🇺

    I'm using 8.x-3.6 and so far this has been working for me.
    I have both 'Email the author?' and 'Disable the site email address' OFF.

    Maybe there's some more information needed to reproduce this?

  • 🇮🇳India renukakulkarni

    The root cause of the issue was identified my case. When the 'Disable the site email address' configuration is enabled, the recipient field is left empty, as written in the module code (screenshot attached).
    When the 'from' address is empty, some email providers (except Gmail) block the emails from being sent. Therefore, if users wish to use the 'Roles' email functionality specifically, the 'Disable the site email address' option must be turned off in such cases, based on the current state of the code.

Production build 0.71.5 2024