How email verification works: syntax, MX, SMTP and its limits

Email verification checks an address's shape, its domain's mail servers, then asks the server about the mailbox without sending. Each step and its limits.

By
VerifyNGN team
Reviewed by
VerifyNGN team (fact-checked 2026-12-01)
Published

Email verification works by answering a chain of questions, cheapest first, and stopping at the first one that settles the address: is it written as an address at all, is the domain a known throw-away or a typo, does the domain have mail servers, and finally, when asked over SMTP, does the mail server say it would take mail for this mailbox? The last step happens in a real SMTP conversation that ends before any message is sent. Each step can only answer what its standard lets it answer, which is why an honest verifier returns more than "good" and "bad".

For doing it by hand in a terminal, see How to verify an email address without sending an email.

The chain at a glance

StepQuestionWhat settles itStandard
1. ShapeIs this an address?Text rules, no networkRFC 5322, RFC 5321
2. ListsTypo, throw-away domain, shared inbox?Known lists and patterns, no networkNone: each verifier's own data
3. DNSCan the domain receive mail at all?MX records, or their absenceRFC 5321 §5.1, RFC 7505
4. SMTPWill the server take mail for this mailbox?The reply to RCPT TORFC 5321
5. Catch-all testDoes the server say yes to everyone?The reply for a made-up addressNone: a convention

Steps 1 to 3 cost almost nothing and never touch the recipient's mail server, so a verifier reaches step 4 only when nothing cheaper has answered.

Step 1: the address's shape

RFC 5322 defines an address as local-part "@" domain, and the local part may be a dot-atom or a quoted string. The atom characters are wider than most people expect: letters, digits and `! # $ % & ' * + - / = ? ^ _ { | } ~``. RFC 5321 adds size limits: 64 octets for the local part, 255 for the domain.

Two more details matter:

  • Non-Latin addresses need the server's support. RFC 6531 (SMTPUTF8) allows UTF-8 in the local part, but a client "MUST NOT transmit an internationalized email address" to a server that doesn't offer the extension. Whether such an address can receive mail depends on every server along the way.
  • Case is the server's business. RFC 5321 says the local part "MUST BE treated as case sensitive", while saying that exploiting this case sensitivity is "discouraged" because it impedes interoperability. Verifiers, VerifyNGN included, therefore compare addresses in lower case.

Step 2: lists and patterns

Before any lookup, a verifier checks what it already knows:

  • Typos of common webmail domains (gmial.com). A good checker suggests the fix and never applies it silently.
  • Disposable domains that hand out throw-away inboxes.
  • Role mailboxes such as info@ or sales@, which reach a team or nobody (see role-based addresses).

No RFC defines these lists; their quality is each verifier's own work.

Step 3: DNS

A domain says where its mail goes with MX records. RFC 5321 §5.1 sets the rules a verifier follows:

  • Several MX records are tried in order of preference: "Lower numbers are more preferred than higher ones."
  • If the domain has no MX records but has an address record, the host itself is the mail server (an implicit MX with preference 0). No MX is not the same as no mail.
  • A null MX (RFC 7505: a single MX with preference 0 and the target .) declares that the domain accepts no email, and "MUST NOT" sit next to any other MX.
  • A domain that doesn't exist can't receive anything. The MX lookup tool shows what a domain publishes.

Step 4: the SMTP question

SMTP lets a client name a recipient with RCPT TO before any message content is sent. The verifier connects to the MX host, introduces itself (EHLO), gives a sender (MAIL FROM), names the recipient, reads the reply, and says QUIT. The DATA step that would carry a message never happens.

RFC 5321 §4.2.1 gives the first digit of the reply its meaning: 2 the action was completed, 4 the error "is temporary, and the action may be requested again", 5 a permanent refusal that should not be repeated. Temporary refusals can come from greylisting, so a verifier waits and asks again rather than calling the address bad.

The command that sounds made for this, VRFY, often doesn't help: RFC 5321 §7.3 lets sites disable it, in which case the server "MUST return a 252 response", which confirms nothing.

Step 5: the catch-all test

A 250 reply only means something if the server would refuse a mailbox that doesn't exist. So the verifier also asks about an address nobody could have, made of random characters. If the server accepts that one too, it is a catch-all (accept-all) domain and its yes proves nothing. More in catch-all email addresses.

How VerifyNGN runs the chain

VerifyNGN follows the order above and stops at the first step that answers. In detail:

  1. Clean the input. Spaces, wrapping quotes or angle brackets, mailto: and the invisible direction marks that Arabic spreadsheets leave in cells are removed, and the address is lower-cased.
  2. Shape. VerifyNGN's check is stricter than RFC 5322: before the @ it accepts letters, digits and . _ + -, and the domain must be plain ASCII (an internationalised name written in its xn-- form passes, except an internationalised top-level domain). Quoted local parts, non-Latin addresses and the rarer symbols come back invalid with the reason syntax, free of charge.
  3. Lists. A webmail typo is answered invalid / typo with a did_you_mean suggestion and is never probed. A disposable domain is disposable. A role mailbox is role, decided from the name alone, before any DNS lookup.
  4. DNS. A domain that doesn't exist, has no mail servers or publishes a null MX is invalid, with no SMTP connection. The reason is no_domain, no_mx or null_mx; when VerifyNGN looks the domain up fresh, all three come back as no_mx. A domain with only an address record is treated as its own mail server, as RFC 5321 says.
  5. SMTP and catch-all, together. From VerifyNGN's own probe servers, the first check at a domain asks for the address and for a made-up one in the same session; the domain's catch-all answer is then remembered for later checks. Nothing is ever sent.

What the replies become (the full list is on the results page):

What the server didStatus and reasonScoreDeliverable
Took the mailbox, refused the made-up addressvalid, accepted95 (90 at free webmail)yes
Refused the mailbox (550, often 5.1.1)invalid, missing0no
Took the made-up address too, at a company servercatch_all, catch_all55risky
Took the made-up address too, at Microsoft 365, Google or a filtering gatewayunknown, provider_accepts_all50risky
Took the mailbox, catch-all test unclearunknown, catch_all_unknown45risky
Said the mailbox is fullunknown, mailbox_full20risky
Greylisted, timed out, unreachable, refused to answer, or unclearunknown, with that reason30unknown

A check costs one credit. Unknown answers and malformed addresses are free. A recent result for the same address can be reused instead of probing again (the API's max_age_days, 30 by default), and the result says so in cached.

The limits no verifier gets past

  • A yes is not a promise of delivery. RFC 5321 itself says it may be "impossible for the receiving SMTP server to validate all the delivery addresses" at RCPT time, and that some failures after acceptance "will be unavoidable". A server can accept now and bounce later.
  • Catch-all and big hosted providers hide the answer. When everything is accepted, no probe can tell a real mailbox from a made-up one. That is why unknown exists.
  • Servers choose whom to answer. Rate limits and anti-spam policy can stop a check before the mailbox question is asked.
  • The answer ages. A mailbox that exists today may be closed when someone changes jobs.
  • Existing is not wanting. Verification says nothing about whether a person reads the mailbox, wants your mail, or whether your message reaches the inbox.

Reading a result in practice

  1. Send to deliverable: yes.
  2. Remove invalid and disposable, after approving any did_you_mean fix you trust.
  3. Decide on role by how you use the list.
  4. Hold catch_all and unknown for a small, watched send or a later re-check.

FAQ

Why can't a verifier just use VRFY? Sites may disable it for security reasons, and RFC 5321 tells them to answer 252 when they do, which neither confirms nor denies the mailbox.

Why do so many Microsoft 365 and Google addresses come back unknown? Many of those domains accept every address during the SMTP conversation, made-up ones included, so a yes proves nothing. VerifyNGN reports provider_accepts_all instead of a false valid. The unknown results guide covers the other causes.

How do I verify addresses from my own code? Call the API for one address or a batch of up to 100, or try a single address in the free email checker.

Sources

Every number and claim above comes from these pages, read on the date shown.

  1. [1]https://www.rfc-editor.org/rfc/rfc5321.html read December 1, 2026
  2. [2]https://www.rfc-editor.org/rfc/rfc5322.html read December 1, 2026
  3. [3]https://www.rfc-editor.org/rfc/rfc7505.html read December 1, 2026
  4. [4]https://www.rfc-editor.org/rfc/rfc6531.html read December 1, 2026
  5. [5]https://verifyngn.com/docs/results.md read December 1, 2026
  6. [6]https://verifyngn.com/docs/pricing.md read December 1, 2026