1

How can I send email and notifications to the active (unlocked) users of the site? What modules do I need for that? Could you explain it clearly?

Already I'm using messaging, notifications and the Mass contact module. If I send mail through the Mass contact module, the blocked users also receive mails.

3 Answers 3

1

Add a category in Mass Contact

http://localhost/sitename/admin/config/system/mass_contact/add

and "Roles to receive e-mail" , just check "authenticated user" and save configuration.

And "authenticated user" are active user not the blocked user.

0

You could use hook_mail_alter to check the emails before they go out and filter the users on your conditions before they actually send to anyone.

0

You can use the Rules and VBO modules.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.