Configuration page
Check the DNS record of the e-mail domain name

This project is not covered by Drupal’s security advisory policy.

The main goal of this module is to prevent the use of disposable emails (DEA) when registering and updating a user profile.
We have collected a number of actual and effective methods of checking DEA and implemented them in one module.

Features

Module implements the list of next constraints:
Google Disposable Email
Prevents the use of emails such as:

if user with email address user@gmail.com already exists.

Yandex temporary emails
Prevents the use of emails such as

E-mail domain black list
Provide internal black list which contains the list of email domains to block.

Temporary email checking on https://block-temporary-email.com
Implement checking of emails on https://block-temporary-email.com.
Required to create account and get API key.

All these checks can either be enabled or disabled as needed.

Post-Installation

Install the module and enable it as usual, then open configuration page at
Configuration | People | User Email validation (/admin/config/people/email_validate)
Select and save which constraints should be enabled.

-------------------------------------------------------------------------------------

New features in 1.0.5

Checking site users feature

Provides a bulk users email checking.

Added checking by email domain

Check the DNS record of the e-mail domain name.
-------------------------------------------------------------------------------------

Similar projects

We analyzed similar modules and create a new with wider functinality
and based on modern Drupal constraints API.

For Developers:

<?php
    // Example of current user email validation.
    $account = \Drupal\user\Entity\User::load(\Drupal::currentUser()->id());
    $violations = $account->get('mail')->validate();
?>
Supporting organizations: 

Project information

Releases