Blog/Engineering
EngineeringDec 4, 20267 min read

How to test an email address without sending an email

Test an email address safely using syntax, DNS/MX, Null MX, and disposable checks before deciding on an SMTP probe. Avoid test sends that hurt sender reputation.

By SendGuard Team
test emailverify email addressemail checkerSMTP RCPT TONull MX

To test an email address without sending a message, check passive DNS and address signals first: RFC 5322 syntax, domain resolution, MX records, RFC 7505 Null MX (0 .), disposable-domain status, and role-account prefixes. Only run an SMTP RCPT TO probe from a dedicated, rate-limited IP when passive checks pass—never send a blank "test" email from your production domain.

Source and implementation review: December 4, 2026. By SendGuard Team. This AI-assisted engineering guide was verified against the IETF specifications cited below and SendGuard's emailverify service implementation. Sample domains and SMTP transcripts use reserved example names (RFC 2606) for illustration, not customer traffic.

How do you test if an email address is valid without sending an email?

Run the checks from least invasive (pure string and DNS lookups) to most invasive (mail-server session), stopping as soon as a deterministic failure appears:

  1. Validate syntax and normalization (RFC 5322 / RFC 5321). Confirm there is one unquoted @, a local-part up to 64 octets, a total address length up to 254 octets, and no trailing dot or unescaped whitespace. Catch obvious domain typos such as gmial.com or outlok.com before touching DNS.
  2. Query DNS MX (and fallback A/AAAA) records. Under RFC 5321 §5.1, mail delivery prefers MX records and falls back to A/AAAA only when no MX record exists. A domain with NXDOMAIN or parked nameservers cannot receive mail.
  3. Check for an explicit Null MX record (RFC 7505). A single MX 0 . record declares that the domain accepts no mail at all. Flagging Null MX in DNS avoids pointless timeouts.
  4. Screen disposable providers and role aliases. Addresses at temporary inbox services (10minutemail, mailinator-style domains) pass syntax and MX checks yet churn within minutes. Role accounts (info@, billing@, abuse@, noc@) route to shared queues with higher complaint risk in outbound campaigns.
  5. Run a rate-limited SMTP RCPT TO probe only when needed. An authenticated API verifier connects to the highest-priority MX, issues EHLO, MAIL FROM, and RCPT TO, and disconnects with QUIT before DATA so no message is delivered.

For an immediate passive check, enter an address in the free email verifier. SendGuard's anonymous web tool runs steps 1 through 4 in real time without opening an SMTP connection to the recipient's mail server.

Why shouldn't you send a test email or try logging into the account?

Sending a real "test" message or attempting a sign-in flow creates avoidable deliverability and security damage:

Why raw telnet port 25 tests fail on laptops and cloud VMs

Running nc or telnet mx.example.net 25 from a home network or standard cloud instance frequently fails even when the target mailbox is valid:

What does each layer of an email test actually prove?

No non-delivery test proves 100% inbox placement. Each check answers one narrow technical question:

Layer                  | Proves                                  | Does NOT prove
-----------------------|-----------------------------------------|------------------------------------------
1. Syntax & typo check | Address obeys RFC 5321/5322 format      | Domain or mailbox exists
2. DNS & MX lookup     | Domain routes mail to an active MX host | Specific user mailbox exists on that host
3. Null MX (MX 0 .)    | Domain explicitly refuses all incoming  | Anything else (stop immediately: invalid)
4. Disposable / role   | Domain is temporary or a shared alias   | Whether a human reads the inbox today
5. SMTP RCPT TO probe  | Server accepted/rejected recipient now  | Catch-all inbox exists, or inbox isn't full

Worked DNS check with dig

You can run the passive DNS layer locally on macOS or Linux without contacting port 25:

# 1. Inspect MX records (look for priority + hostname, or "0 ." Null MX)
dig +short MX example.com

# 2. Example normal output:
# 10 inbound-smtp.example.com.

# 3. Example RFC 7505 Null MX output (domain refuses all email):
# 0 .

If dig +short MX returns 0 ., mark the address undeliverable immediately. If it returns empty output, check dig +short A example.com and dig +short AAAA example.com; when all three are empty, the domain cannot receive mail.

How do catch-all domains, greylisting, and deferred bounces affect SMTP tests?

Even from a properly configured verification server with clean reverse DNS, SMTP RCPT TO responses require careful interpretation (RFC 5321 §4.2):

220 mx.example.net ESMTP ready
EHLO verifier.example.org
250-mx.example.net
MAIL FROM:<>
250 2.1.0 OK
RCPT TO:<[email protected]>
250 2.1.5 OK        <-- Accepted, OR domain is catch-all (test a random local-part to check)
QUIT
221 2.0.0 Bye

Four common SMTP edge cases

  1. Catch-all (accept-all) domains: Many corporate gateways return 250 2.1.5 OK for every address at example.net during the SMTP envelope, then silently drop or bounce unknown recipients later. Verifiers detect catch-all behavior by probing a non-existent control token at the same domain; if both return 250, the status must be unknown / catch-all, not guaranteed deliverable.
  2. Greylisting (450 / 451 temporary failure): Servers using greylisting temporarily defer unfamiliar (IP, sender, recipient) tuples with a 4xx code. Treating a 450 response as a hard invalid discards real addresses.
  3. Anti-harvesting tarpits and rate limits (421): Querying multiple recipients at the same company domain in a burst triggers 421 Too many connections or artificial delays. SendGuard's authenticated emailverify service enforces per-MX concurrency guards (smtpGuard) and caches outcomes so automated agents do not hammer recipient gateways.
  4. Provider-specific post-DATA rejection: Large consumer and enterprise providers sometimes accept RCPT TO and reject only after inspecting message headers and authentication in DATA—which a sendless probe never reaches.

When should you test sender security alongside recipient validity?

Searchers looking up an "email test" or "email security test" are often diagnosing one of three separate failure modes. Match the tool to the exact failure:

Primary references

Build with SendGuard

Put outbound policy in front of every AI-generated email.

Use SendGuard to evaluate risk and return a pre-send decision. Your executor enforces approval and sending controls before delivery.

More from the blog

Related reading on safer AI outbound systems.

EngineeringDec 5, 20269 min read

Disposable email detection: how it works without blocking real users

Learn how disposable email detection separates temporary burner domains from privacy relays, catch-all servers, and role addresses using allowlist overrides and dynamic domain lists.

disposable email detectiondisposable email detectoremail security checker
Read article →
EngineeringNov 26, 20267 min read

Email verification vs authentication: which check do you need?

Email verification checks recipient-address signals. An email authentication check examines sender identity through SPF, DKIM and DMARC. Use both for different questions.

email authentication checkemail verificationSPF
Read article →