Email Validation - SMTP
by Kitworks Systems https://github.com/kitworks-systems/email-validationAvailability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 809 |
Technical Name |
kw_email_validation_smtp |
License | LGPL-3 |
Website | https://github.com/kitworks-systems/email-validation |
Versions |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 809 |
Technical Name |
kw_email_validation_smtp |
License | LGPL-3 |
Website | https://github.com/kitworks-systems/email-validation |
Versions |
Email Validation with SMTP Verification
This module extends the base email validation functionality with SMTP-based verification. It adds an advanced layer of validation by performing a partial SMTP connection to verify the existence of email addresses, significantly improving validation accuracy without requiring paid external API services.
Key features include:
- SMTP-based mailbox verification
- Integration with the base email validation system
- No external API dependencies or costs
- High accuracy compared to DNS-only or syntax-only checks
- Non-intrusive verification without sending actual emails
Technical Details
- Implementation: Adds a new validator to the kw.email.validator model
- Validation Method:
- Establishes an SMTP connection to the recipient's mail server
- Performs SMTP handshake and RCPT TO command
- Verifies server response to determine if the mailbox exists
- Gracefully closes the connection without sending actual email
- Performance:
- More thorough than DNS checks but requires more time
- Configurable timeout settings to prevent long-running validations
Benefits
- Cost-Effective: No external API costs or rate limits
- Privacy: Email addresses are not shared with third-party services
- Accuracy: Higher accuracy than DNS-only or syntax-only validation
- Mailbox Verification: Can detect non-existent mailboxes in valid domains
- Self-Hosted: Complete control over the validation process
Limitations
While SMTP validation provides high accuracy, it has some limitations:
- Some mail servers may block SMTP verification attempts
- Cannot reliably detect catch-all email configurations
- Cannot detect disposable email addresses
- May be slower than API-based validation services
- For these advanced validations, consider using API-based validators
Dependencies
- kw_email_validation: Base module providing core validation functionality
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