Loki_EmailMxValidator

Components
PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
Integration Tests 4
Latest Release 1.0.0

This Magento 2 module is an add-on package to the LokiCheckout.

Installation

Install this package via composer:

composer require loki/magento2-email-mx-validator

Next, enable this module:

bin/magento module:enable Loki_EmailMxValidator
WARNING: This module has no releases yet. If you want to use it, make sure to add the version @dev to the composer command.

Support

For getting support, create an Issue under the following project URL:

https://github.com/LokiExtensions/Loki_EmailMxValidator

Configuration Options

The following options of this module can be configured via the Store Configuration:

Validators > Enable MX Validation for Email Values
loki_components/validators/enable_mx_validation_for_email
When a specific Loki Component is declared in a file `etc/loki_components.xml` with a validator `email`, then basic email validation is applied. With this setting enabled, the validation includes also a DNS MX lookup of the domain part of the email.
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Loki_Base Loki_Components Loki_CssUtils Magento_Backend Magento_Config Magento_Customer Magento_Store Yireo_CspUtilities
Composer details
Magento module name
Loki_EmailMxValidator
Composer name
loki/magento2-email-mx-validator
Composer version
No release yet
Default branch
master
Requirements
loki/magento2-components: ^2.0
magento/framework: ^103.0
spatie/dns: ^2.0
Releases
1.0.0 10 November 2025
Changelog

[1.0.1] - 15 October 2025

Fixed

  • Copy generic CI/CD files
  • Adding all files to git via Yireo Command
  • Initial release

Last modified: November 3, 2025