Email Validator Customizer
This module enhances email validation in Drupal by providing more granular control and stricter options than core. It allows administrators to replace or combine various validation methods from the `egulias/EmailValidator` library, including DNS checks and spoofing detection, to better suit their needs beyond basic RFC compliance.
Synopsis
Drupal core uses the RFCValidation from egulias/EmailValidator to validate email addresses. However, the RFC allows for email addresses with no domain, which is often not the desired behaviour.
This module implements all other Validations provided by egulias/EmailValidator as services.
More importantly, on the module config page, you can also replace the Core service (RFCValidation) with any of your choosing and even combine multiple using the MultipleValidationWithAnd validation.
Included Validations:
- DNSCheckValidation (default)
- MessageIDValidation
- MultipleValidationWithAnd
- NoRFCWarningValidation
- RFCValidation, same as core, so only as option for MultipleValidationWithAnd.
- SpoofCheckValidation
More info about the validations: https://github.com/egulias/EmailValidator#available-validations
DNSCheckValidation is the default replacement Validation.