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

rfay’s picture

Status: Active » Postponed (maintainer needs more info)

I 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.

gregrmay’s picture

I'm using "Apply for role", as stated in my original request. Thanks!

rfay’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

I 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

not_Dries_Buytaert’s picture

Status: Closed (won't fix) » Closed (fixed)

I 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.