Loki_EmailMxValidator
Components
PHP
8.1 - 8.4
Magento
2.4.7 | 2.4.8
CSP
Yes
Integration Tests
4
PHPStan
5
Magento PHPCS
7
Latest Release
1.0.4
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
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_Directory
Magento_Quote
Magento_Store
Magento_Theme
Yireo_CspUtilities
Composer details
Magento module name
Loki_EmailMxValidatorComposer name
loki/magento2-email-mx-validatorComposer version
1.0.4
Default branch
master
Requirements
loki/magento2-components: ^2.0
magento/framework: ^103.0
magento/module-backend: ^102.0
magento/module-config: ^101.2
magento/module-store: ^101.1
spatie/dns: ^2.0
Releases
| 1.0.4 | 12 June 2026 |
| 1.0.3 | 12 June 2026 |
| 1.0.2 | 12 June 2026 |
| 1.0.1 | 12 June 2026 |
| 1.0.0 | 12 June 2026 |
Changelog
[1.0.4] - 02 June 2026
Fixed
- Update composer requirements
[1.0.3] - 19 February 2026
Fixed
- Fix config integration test
[1.0.2] - 12 February 2026
Fixed
- Allow PHP Config to read from current store level
[1.0.1] - 20 January 2026
Fixed
- Add new GitHub Action workflows
- Check for invalid email without domain part
[1.0.1] - 15 October 2025
Fixed
- Copy generic CI/CD files
- Adding all files to git via Yireo Command
- Initial release
Last modified: June 1, 2026