Email Restrict

Categories

Component ID

1663316

Component name

Email Restrict

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Email Restrict is intended to be a very heavy-handed approach to limiting system emails to select users only. Very useful for development sites that have real users loaded but don't want to accidentally send emails to all users (ie using rules to send an email when a user joins an organic group).

While other modules such as the awesome Reroute Email are great for sending all mail to one or more email addresses, this module offers the ability to select a subset of users that will still still receive email as normal while messages destine for those who aren't selected don't get sent.

I created this module after the third time I accidentally blasted the entire company with emails after posting content in an organic group (we had to disable Reroute Email so that multiple users could get in and test the functionality without wiping out all existing accounts.

To use, download and install as normal, then head to /admin/config/development/emailrestrict to select which users will receive email. Note, if no users are selected, emails will be sent out as normal.

Also, I put in a "nag" notice whenever emails are being restricted (which shows up on any form drupal loads) so that you don't forget that you're restricting emails.