Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using Drupal 6 and the latest version of this module. Users, when creating a new account, apply for a role using the "Apply for role" module. An administrator approves the application... but the email isn't sent.
Any ideas how to fix this? I tried using "Triggers"/"Actions", but couldn't find which information to pass to the "email address" field.
Thanks!
Comments
Comment #1
rfayI imagine this is the same as [341126], but please let me know what module you're using to do the "apply for role" functionality. If you'll let me know what module is providing the functionality I'll investigate.
Comment #2
gregrmay CreditAttribution: gregrmay commentedI'm using "Apply for role", as stated in my original request. Thanks!
Comment #3
rfayI apologize for not reading your report carefully. You certainly stated it clearly.
The apply_for_role module is doing direct database manipulation of the users_roles tables, not modifying things "the drupal way", so there's no way for a module like role_change_notify to find out that a role was changed.
I created a patch/bug #351916: Module should not directly manipulate users_roles table for this against apply_for_role.
Thanks,
-Randy
Comment #4
not_Dries_Buytaert CreditAttribution: not_Dries_Buytaert commentedI confirm that this has been fixed. When roles are granted (by editing user account pages or approving role applications), outbound emails are send.
Running role_change_notify-6.x-2.2 and apply_for_role-6.x-1.9.