The DeBounce Email module provides validation of emails submitted on the
user registration form by using the DeBounce service. The purpose is to:

  • Attempt to block the use of temporary email addresses.
  • Provide suggestions in the case of common typos, by, for example, suggesting example@gmail.com if a user enters example@gmail.con
  • Prevent the use of email addresses with hard bounces.

Errors communicating with the DeBounce service are handled gracefully by logging the error and letting the user registration proceed uninterrupted. The validation will wait a maximum of a configurable number of seconds for the DeBounce service to respond. The default maximum wait time is 8 seconds, after which user registration proceeds without email validation.

Dependencies

Key module for storing the API key from DeBounce.

Installation

Install this module using your favourite method, such as by Composer:
composer require drupal/debounce_email

Configuration

  1. Go to https://debounce.io and sign up for a DeBounce account and purchase credits.
  2. Enter the API key on the DeBounce Email settings page: admin/config/services/debounce-email.

Tip

Add the following to your local settings file to disable validation
$config['debounce_email.settings']['is_enabled'] = FALSE;

Sponsorship

Development and maintenance of this module is sponsored by College Physics Answers.

Project information

Releases