python-email-validator
python-email-validator copied to clipboard
Email deliverability check is failing with timeout
in validate_email, the result of the following deliverability check is always : {'unknown-deliverability': 'timeout'}
for this call:
from .deliverability import validate_email_deliverability
deliverability_info = validate_email_deliverability(
ret.ascii_domain, ret.domain, timeout, dns_resolver
)
and this is the case whatever the email
- "[email protected]" (the domain exists, the user doesn't)
- "[email protected]" (neither should exist)
no idea how to solve this, tried adjusting the timeout to no avail.
lib is installed via pydantic (pydantic = {extras = ["email"], version = "==2.8.2"}) and the resolved email_validator version is 2.2.0 (latest at the time of this writing)
There's probably an issue with your local DNS setup.