Skip to Content
Menu
Third Party
Download for v 17.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies CRM (crm)
Calendar (calendar)
Contacts (contacts)
Discuss (mail)
Community Apps Dependencies
Lines of code 783
Technical Name kw_email_validation_dnspython
LicenseLGPL-3
Websitehttps://github.com/kitworks-systems/email-validation
Versions
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies CRM (crm)
Calendar (calendar)
Contacts (contacts)
Discuss (mail)
Community Apps Dependencies
Lines of code 783
Technical Name kw_email_validation_dnspython
LicenseLGPL-3
Websitehttps://github.com/kitworks-systems/email-validation
Versions

Email Validation with DNS Verification

License: LGPL-3 Kitworks Systems


This module extends the base email validation functionality with DNS-based verification using the dnspython library. It adds an additional layer of validation by checking the existence of MX records for email domains, significantly improving the accuracy of email validation without requiring external API services.

Key features include:

  • DNS-based domain verification using MX record lookups
  • Integration with the base email validation system
  • No external API dependencies or costs
  • Improved validation accuracy compared to syntax-only checks

Technical Details

  • Implementation: Adds a new validator to the kw.email.validator model
  • Validation Method:
    • Checks for the existence of MX records for the email domain
    • Falls back to A record check if MX records are not found
    • Validates that the domain can receive email
  • Performance:
    • Fast validation without external API calls
    • Minimal network overhead compared to full SMTP checks

Benefits

  • Cost-Effective: No external API costs or rate limits
  • Privacy: Email addresses are not shared with third-party services
  • Reliability: No dependency on external service availability
  • Speed: Fast DNS lookups compared to full SMTP validation
  • Accuracy: More accurate than syntax-only validation

Limitations

While DNS validation significantly improves validation accuracy, it has some limitations:

  • Cannot verify if the specific mailbox exists (only validates the domain)
  • Cannot detect disposable email addresses
  • Cannot detect catch-all email configurations
  • For these advanced validations, consider using API-based validators

Dependencies

  • kw_email_validation: Base module providing core validation functionality
  • dnspython: Python library for DNS queries

Configuration

No additional configuration is required for this module.

Bug Tracker

Bugs are tracked on https://kitworks.systems/requests. In case of trouble, please check there if your issue has already been reported.

Maintainer

KitWorks Systems. Our web site: https://kitworks.systems

We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.

For any questions contact us.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.