Products
Email ValidatorBulk email verificationCatch-all verificationFree email verificationEmail verification APIEmail Verification MCP
Pricing
PricingContact us
Resources
About usContact usBlogAPI DocsMCP Server

SMTP email verification explained: what really happens when you check a mailbox

SMTP email verification is the step that turns 'this address looks fine' into 'this mailbox exists'. Most people rely on it every day without knowing what's going on underneath. Here's exactly what happens when a verifier checks a mailbox, what the server's replies mean, and why the hard cases (catch-all domains, greylisting, timeouts) are where good and bad tools part ways.

What SMTP email verification is

SMTP (Simple Mail Transfer Protocol) is the language mail servers use to hand messages to each other. When you send an email, your provider's server connects to the recipient's server and has a short, structured conversation: who's sending, who it's for, and here's the message.

SMTP email verification uses the first half of that conversation and skips the second. The verifier connects, introduces itself, names a sender and a recipient, and reads the server's answer about the recipient. Then it says goodbye before sending any message content. The receiving server has said whether it would accept mail for that mailbox, and nobody has received an email.

It sits at the end of a full verification chain. BounceZip runs syntax, domain, MX and mailbox checks, in that order. The mailbox check is the SMTP conversation this article is about. If you want the bigger picture first, start with what email verification is.

Before SMTP: finding the mail server with an MX lookup

You can't talk to a mail server until you know which one handles the domain. That's what MX records are for. A DNS lookup for acme.com might return something like this:

$ dig mx acme.com +short
1 aspmx.l.google.com.
5 alt1.aspmx.l.google.com.
5 alt2.aspmx.l.google.com.
10 alt3.aspmx.l.google.com.

The number is the priority: lower means try first. Here, Acme uses Google Workspace, so the verifier connects to aspmx.l.google.com on port 25. If the lookup returns no MX records, and there's no fallback address record that accepts mail, the domain can't receive email. The address is invalid without any SMTP conversation at all.

The SMTP verification conversation, line by line

Here's a simplified version of a mailbox check. Lines starting with S: come from the receiving server, lines starting with C: from the verifier.

S: 220 mx.acme.com ESMTP ready
C: EHLO verify.example.net
S: 250-mx.acme.com Hello
S: 250 SIZE 52428800
C: MAIL FROM:<check@verify.example.net>
S: 250 2.1.0 Sender OK
C: RCPT TO:<jane.doe@acme.com>
S: 550 5.1.1 User unknown
C: QUIT
S: 221 2.0.0 Bye

Step by step:

  1. 220 greeting. The server is up and ready to talk.
  2. EHLO. The verifier introduces itself by hostname. Servers may judge the connection on whether that hostname and IP look legitimate.
  3. MAIL FROM. The verifier names a sender. The server can reject here if it doesn't like the sender or the connecting IP.
  4. RCPT TO. The important line. The verifier names the address being checked, and the server says whether it will accept mail for it.
  5. QUIT. The verifier ends the session. There's no DATA command, so no message is ever transmitted.

That last point is the whole trick, and it's why verification is safe for the person being checked. Their inbox never sees anything.

SMTP reply codes and what they mean for verification

The server's reply to RCPT TO is a three-digit code, often followed by an enhanced status code like 5.1.1 and some text. The first digit matters most:

  • 2xx (success). 250 means the server will accept mail for that recipient. On a normal domain, the mailbox exists. On a catch-all domain, it means nothing on its own.
  • 4xx (temporary failure). 421, 450, 451 or 452 mean 'not right now'. Causes include greylisting, rate limits, a full mailbox or a busy server. The right response is to retry later, not to mark the address invalid.
  • 5xx (permanent failure). 550 with 5.1.1 is the classic 'user unknown': the mailbox doesn't exist. But not every 5xx is about the mailbox. A 554, or a 550 whose text mentions your IP or a blocklist, means the server rejected the verifier, not the address.

Why this matters: a lazy verifier reads every 5xx as 'invalid'. A careful one reads the enhanced code and the text, so a blocked connection becomes 'unknown, retry' instead of deleting a real customer.

BounceZip's API returns a status alongside a reason code, so your code can tell a dead mailbox from a server that just wouldn't answer. The full field list is in the API docs.

Where SMTP email verification gets hard

On a cooperative server with a normal setup, SMTP verification is clean and reliable. Plenty of servers aren't like that.

Catch-all domains

Some domains are configured to accept mail for any address. Ask about jane.doe@ or zzqx81@ and you get the same 250. A single handshake can't tell the real from the fake. Verifiers usually detect this by also probing a random address that can't exist: if that's accepted too, the domain is catch-all. Our guide to the catch-all email address explains what to do next.

Greylisting

Some servers temporarily reject any sender they haven't seen before with a 4xx code, and only accept on a retry minutes later. A verifier that doesn't retry will return a pile of false unknowns. We cover it properly in our post on greylisting and email verification.

Timeouts and deliberate slowness

Some servers respond slowly on purpose to discourage bulk probing. A verifier needs sensible timeouts and retry logic, or it either hangs or gives up too early.

Providers that accept first and bounce later

Some servers, and some security gateways that sit in front of them, accept almost everything at RCPT TO and only reject after the message is delivered. For those, the SMTP reply alone isn't reliable. That's why a careful verifier treats some answers with caution: knowing how a specific provider behaves is part of reading its answer correctly.

Why you shouldn't run SMTP checks from your own servers

Developers often ask whether they can just write their own checker. It's a short script, after all. Here's what tends to happen next:

  • Many cloud providers block outbound port 25 by default, so the script can't connect at all.
  • Mail servers judge connections by IP reputation. Fresh cloud IPs that open lots of short SMTP sessions without ever sending mail look like a spammer harvesting addresses, and they end up on blocklists.
  • If that IP sits near your real mail infrastructure, your actual deliverability can suffer.
  • You'll have to build retry logic for greylisting, detection for catch-all domains, provider-specific handling and timeout tuning. That's the hard 80% of the job, and it never stops changing.

A dedicated service keeps all of that off your infrastructure. BounceZip's email verification API returns results in seconds and never sends an email to the address being checked.

A worked example: SMTP results across 10,000 addresses

Say you run SMTP checks across a 10,000-address B2B list. A realistic spread of first-pass responses at RCPT TO might look like this (example numbers):

  • 7,200 answer 250 on domains that reject a random test address: valid.
  • 1,400 answer 250 on domains that also accept the random test: catch-all.
  • 650 answer 550 5.1.1: invalid.
  • 500 answer with a 4xx code: temporary, needs a retry.
  • 250 time out or reject the connection itself.

A naive script would call all 8,600 addresses that answered 250 'good', including 1,400 catch-alls it can't actually confirm, and mark the 750 temporary failures and connection problems as invalid. That's hundreds of real contacts deleted and 1,400 unconfirmed addresses sent anyway.

A careful verifier does it differently. It retries the 4xx group after a pause, which usually resolves most of them. It reports connection problems honestly as unknown instead of guessing. And it runs deeper checks on the catch-all group to get a verdict for each address. The result is a list where every 'invalid' really is invalid and every 'valid' really accepts mail.

Is SMTP email verification safe for the person being checked?

This question comes up a lot, usually from marketers who worry that checking an address is somehow intrusive. The short answer: the person being checked never knows it happened. No message is sent, nothing lands in their inbox, and nothing appears in their mail client. The only record is a log line on the receiving server showing a connection that ended before any message was handed over.

From the receiving server's point of view, the check looks like the start of an ordinary delivery attempt that was cancelled. That's why it's important for a verifier to be polite about it: sensible connection rates, honest hostnames, and backing off when a server signals it's busy. A verifier that hammers servers gets blocked, and then its results get worse for everyone.

On the data side, treat a list you're verifying like any other personal data. BounceZip uses encrypted connections (TLS), saves results for 30 days, deletes files when they expire (or sooner if you delete the job), follows GDPR and CCPA, and never sends an email to the address being verified. If you're verifying lists for clients, those are the questions to ask any vendor before you upload.

Key takeaways

  • SMTP email verification asks the receiving server about a mailbox at the RCPT TO step, then quits before any message is sent.
  • 2xx means accepted, 4xx means try again later, 5xx means rejected. Read the text, though: not every 5xx is about the mailbox.
  • Catch-all domains, greylisting and timeouts are where accuracy is won or lost.
  • Running your own SMTP checks puts your IP reputation at risk. Use a service that handles the retries and edge cases.

If you'd like to see the result codes for yourself, send a few addresses through the API using the free credits every new account gets.

Share

Clean & Verify Your Email List for Free

  • No credit card
  • GDPR compliant
  • Credits never expire