This module has two different methods: whitelist and blacklist modes. The blacklist mode will reject any registrations from email addresses, domains, or partial word matches that you set up. The whitelist does the opposite and will only accept registrations from a list of allowed phrases. The module only checks the ending part of an email address, so if you enter the word “test” as a blacklist word it would block email@example.com, but not firstname.lastname@example.org.
- Adding @mailinator.com would block only email addresses ending with “@mailinator.com”.
- Adding “.ru” would ban email@example.com, but not firstname.lastname@example.org
- Adding “bar” would only block domains ending with “bar” (ex. the address email@example.com)
This module creates a blacklist made up of nearly 50 common temporary and spammer email domains, but you are welcome to help us improve our list. Leave a comment if you have a suggested temporary email domain that you think deserves being added to the default blacklist.
- Adding “@company.com” would only allow addresses ending with @company.com when using the whitelist method.
- Adding “.edu” would only allow .edu addresses (plus whatever other exceptions have been added to the list)