site address:
github.com/JoshData/python-email-validator/issues/190 redirected to: github.com/JoshData/python-email-validator/issues/190
site title:
ValidatedEmail.mx is missing, not None, when the deliverability check times out · Issue #190 · JoshData/python-email-validator · GitHub
|
|
|
Our opinion (on Wednesday 18 November 2026 4:03:04 UTC):
- no comments
|
|
|
|
Meta tags:
description= When the DNS lookup times out (or no nameserver answers), validate_email accepts the address, as intended, but the returned object has no mx attribute at all. Reading result.mx raises AttributeError instead of returning None. The README ...;
Headings (most frequently used words):
navigation, metadata, footer, validatedemail, mx, is, missing, not, none, when, the, deliverability, check, times, out, 190, menu, repository, description, activity, issue, actions, to, reproduce, cause, suggested, fix, assignees, labels, projects, milestone, relationships, development,
Text of the page (most frequently used words):
the (21), github (14), none (11), and (11), for (7), resolver (7), not (6), issue (6), result (6), out (6), security (5), copilot (5), sign (5), mx_fallback_type (5), deliverability (5), validatedemail (5), when (5), check (5), times (5), code (5), you (4), actions (4), projects (4), one (4), with (4), validate_email (4), all (4), your (4), support (4), navigation (3), open (3), labels (3), attribute (3), get (3), deliverability_info (3), ret (3), only (3), print (3), dns (3), email (3), validator (3), python (3), copy (3), link (3), 190 (3), missing (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), reload (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), that (2), this (2), community (2), status (2), footer (2), 2026 (2), pull (2), requests (2), development (2), milestone (2), metadata (2), already (2), from (2), address (2), default (2), readme (2), list (2), tuple (2), int (2), str (2), never (2), true (2), lookup (2), returned (2), attributeerror (2), false (2), 192 (2), nameserver (2), answers (2), import (2), new (2), insights (2), repository (2), joshdata (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), learn (2), business (2), fixes (2), products (2), secret (2), can, perform, action, time, share, personal, information, manage, cookies, contact, docs, privacy, terms, inc, app, branches, yet, relationships, assigned, assignees, comment, have, account, join, conversation, free, activity, callers, who, want, treat, unchecked, domain, differently, deliverable, example, answer, try, again, rather, than, store, currently, need, tell, two, apart, getattr, annotation, widened, give, class, both, match, optional, either, set, unconditionally, suggested, fix, declares, path, created, same, today, main, unknown, sets, cause, hasattr, repr, dns_resolver, check_deliverability, someone, gmail, com, lifetime, nameservers, configure, test, net, email_validator, dnspython, reproduce, table, fields, says, may, could, completed, because, temporary, like, timeout, settled, behaviour, does, still, come, back, affected, accepts, intended, but, object, has, reading, raises, instead, returning, body, nov, opened, matthew, notifyme, description, more, items, wiki, issues, message, dismiss, alert, switched, accounts, appearance, settings, search, pricing, event, talks, workshops, what, next, partners, about, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, add, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, place, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, review, collaboration, platform, menu, skip, content,
Text of the page (random words):
validatedemail mx is missing not none when the deliverability check times out issue 190 joshdata python email validator github skip to content navigation menu sign in products platform github repository hosting code review and collaboration copilot ai coding agent for tasks projects and automated work build ship actions ci cd and automation code quality quality analysis fixes and enforcement codespaces cloud development environments secure code security vulnerability detection and remediation secret protection secret scanning and leak prevention all features developers learn documentation training certifications build build with copilot customize copilot integrations explore trending repos github sponsors developer articles changelog changelog your source for the latest features improvements and fixes across github products all in one place businesses by stage enterprises team startups nonprofits by industry healthcare financial services manufacturing government see all industries evaluate github why github customer stories business insights trust center add ons github advanced security enterprise grade code security copilot for business enterprise grade ai features premium support enterprise grade 24 7 support resources learn connect documentation resource center blog events webinars community forum customer stories integrations support customer support training github status company about partners changelog github universe github universe the event for developers by developers talks workshops and what s next for github pricing search sign in sign up appearance settings you signed in with another tab or window reload to refresh your session you signed out in another tab or window reload to refresh your session you switched accounts on another tab or window reload to refresh your session dismiss alert message joshdata python email validator repository navigation code issues 12 12 pull requests 5 5 actions projects wiki security and quality insights more items validatedemail mx is missing not none when the deliverability check times out 190 new issue copy link new issue copy link open open validatedemail mx is missing not none when the deliverability check times out 190 copy link description matthew notifyme opened on nov 13 2026 issue body actions when the dns lookup times out or no nameserver answers validate_email accepts the address as intended but the returned object has no mx attribute at all reading result mx raises attributeerror instead of returning none the readme s table of validatedemail fields says mx may be none if the deliverability check could not be completed because of a temporary issue like a timeout and 41 settled on that behaviour mx_fallback_type does still come back as none only mx is affected to reproduce email validator 2 3 0 dnspython 2 9 2 python 3 14 import dns resolver from email_validator import validate_email the only nameserver never answers 192 0 2 1 is test net 1 so the check times out resolver dns resolver resolver configure false resolver nameservers 192 0 2 1 resolver lifetime 1 result validate_email someone gmail com check_deliverability true dns_resolver resolver print repr result mx_fallback_type none print hasattr result mx false print result mx attributeerror mx cause validate_email py sets mx only when the lookup returned one mx deliverability_info get mx if mx is not none ret mx mx ret mx_fallback_type deliverability_info get mx_fallback_type and validatedemail declares mx list tuple int str with no default so on the unknown deliverability path the attribute is never created the same is true on main today suggested fix either set it unconditionally as mx_fallback_type already is ret mx deliverability_info get mx with the annotation widened to optional list tuple int str or give the class attribute a none default both match the readme callers who want to treat an unchecked domain differently from a deliverable one for example answer try again rather than store the address currently need getattr result mx none to tell the two apart activity sign up for free to join this conversation on github already have an account sign in to comment metadata metadata assignees no one assigned labels no labels no labels projects no projects milestone no milestone relationships none yet development no branches or pull requests issue actions open in github copilot app footer 2026 github inc footer navigation terms privacy security status community docs contact manage cookies do not share my personal information you can t perform that action at this time
|
|
| Thumbnail images (randomly selected): * Images may be subject to copyright. | |  |
|
Verified site has: 51 subpage(s). Do you want to verify them? Verify pages:
|
The site also has references to the 4 subdomain(s)
|
The site also has 4 references to external domain(s).
|
|
|
Pages verified in the last hours (randomly selected):
|
|
Top 50 hastags from of all verified websites.
| |
|
|
|
|
|
|
Load Info| page size | 38961 | | load time (s) | 0.587013 | | redirect count | 1 | | speed download | 66373 | | server IP | 140.82.121.4 |
|
|
|
|
|
|
|
|
* Image may be subject to copyright.
|
|