python-email-validator icon indicating copy to clipboard operation
python-email-validator copied to clipboard

Email deliverability check is failing with timeout

Open majorgilles opened this issue 1 year ago • 1 comments

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

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)

majorgilles avatar Sep 11 '24 12:09 majorgilles

There's probably an issue with your local DNS setup.

JoshData avatar Sep 11 '24 14:09 JoshData