Loki_EmailMxValidator
This module is available free of charge as part of the Loki Checkout Open Source plan. Please note that support for this module is not to be taken for granted though. If you want our dedicated help, opt for a paid plan instead.
Component Library
module.plan-free
Professional
Standard
Trial
PHP
8.2 - 8.5
Magento
2.4.6 - 2.4.9
CSP
Yes
Integration Tests
4
PHPStan
5
Magento PHPCS
7
License
OSL-3.0
Latest Release
1.0.5
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
Current status
Magento 2 DI compilation
success
Magento 2 Integration Tests
success
Playwright test
success
Magento 2 Unit Tests
success
Magento 2 Static Tests
success
Magento 2 Unit Tests
success
Magento 2 Static Tests
success
Playwright test
success
Magento 2 DI compilation
success
Magento 2 Integration Tests
success
Playwright test
success
Magento 2 Static Tests
success
Magento 2 Unit Tests
success
Magento 2 DI compilation
success
Magento 2 Integration Tests
success
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
main
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
php: >=8.2 <8.6
Releases
| 1.0.5 | 12 November 2026 |
| 1.0.4 | 12 November 2026 |
| 1.0.3 | 12 November 2026 |
| 1.0.2 | 12 November 2026 |
| 1.0.1 | 12 November 2026 |
| 1.0.0 | 12 November 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