Advertising sustains the DA. Ads are hidden for members. Join today

Contributed module documentation

Advanced Email Validation

Advanced Email Validation (AEV) checks email addresses against configurable rules built on the stymiee/email-validator library. It can validate the email field on user accounts, and email fields on any Webform via a handler.

The rules cover whether an address is well-formed and able to receive mail, and let you refuse whole categories of address such as free or disposable providers, or domains on your own banned list.

AEV Requirements and installation

What you need to run Advanced Email Validation, and how to install it with Composer.

Configuring AEV validation rules

Choose when user accounts are validated, which rules apply, and customize the error messages.

Extending AEV

Validate addresses in your own code with the advanced_email_validation.validator service.

Validating Webform email fields using AEV

Add the Advanced email webform validator handler to apply the rules to a form's email fields.

Guide maintainers

darvanen's picture