Facebook tracking pixel

MailGenius

SMTP Test Utility: Test Connectivity in 2026

Most repeated advice about testing email is to open a terminal, telnet into port 25, type HELO, and watch for a 250. It's the advice every forum thread hands out, and it's the wrong test. Almost nobody sends mail on port 25 anymore. Your application submits through 587 with STARTTLS or 465 with implicit TLS, and a port 25 session tells you nothing about either one. Run it against your provider and it hangs, or it returns a policy error that has nothing to do with your credentials.

The second half of the problem is what people do with a green result. A clean SMTP transcript proves one thing: a server accepted a transaction, on that connection, at that moment.

A passing handshake is a receipt, not a delivery confirmation. Keep that distinction in your head and every result you read afterward will make more sense.

Table of Contents

Run the SMTP Test from Connect to Quit

SMTP is older than most of the software you'll test it against. The Internet Engineering Task Force published RFC 821, titled "Simple Mail Transfer Protocol," in August 1982, with the stated objective of transferring mail "reliably and efficiently," and it established the command-and-response model that mail transfer agents still follow today. That document was superseded by RFC 2821 and then by RFC 5321, which also obsoleted earlier extensions. The chain matters because the server on the other end of your test is still expected to answer the same sequence in the same order, whether it sits in your data center or behind a modern email service provider.

There's a harder boundary in that same standard. RFC 5321 covers transport and RFC 5322 covers message format. A session that ends in success confirms the server took responsibility for the message. It says nothing about whether the headers, encoding, links, or HTML inside that message are built correctly. You need both tests, and they answer different questions.

An open port is not a handshake

A production-grade utility executes a deterministic handshake instead of pinging a TCP port. It resolves the hostname, connects to the submission endpoint an administrator published, reads the greeting, issues EHLO, inspects the advertised capabilities, negotiates STARTTLS where it's offered, reissues EHLO after encryption, authenticates only inside a test you're authorized to run, and closes with QUIT, according to RFC 6409 and its submission requirements. Each of those stages can fail on its own, and each failure points at a different owner: DNS, network, TLS, credentials, or policy.

Here's the whole session as a checklist, with the pass condition and the failure that should stop you cold.

Stage What to do Pass looks like Hard failure
Resolve hostname Look up the submission host Address resolves to the expected server NXDOMAIN, wrong host, or stale DNS
Connect Open port 587 or 465 TCP connection completes Timeout, refused, or unexpected port
Greeting Read the banner 220 greeting from the right host No banner, wrong hostname, or 5xx
First EHLO Send EHLO with your domain 250 and a capability list No STARTTLS or AUTH advertised when required
TLS STARTTLS on 587 or implicit TLS on 465 TLS 1.2 or 1.3, valid cert, hostname match TLS 1.1 or older, cert error, or downgrade
Second EHLO Send EHLO again after encryption Fresh capability list Reusing the pre-TLS capability list
AUTH Authenticate only if this test is authorized 235 after TLS Credentials in plaintext or unexpected AUTH mechanism
Optional message MAIL FROM, RCPT TO, DATA 250, 250, then 354 and 250 530 before AUTH or a 5xx reject
QUIT Close the session 221 and a clean disconnect Session left open or abrupt drop

One session, start to finish

Walk it once by hand before you trust any tool's summary. Use a host you control, the submission port your admin published, a mailbox your team owns, and a one-line message that isn't part of a live campaign.

  1. Get explicit permission. Confirm you may authenticate to this server and that you won't message a customer list. Copy this shape: host smtp.example.com, port 587, your own address as the recipient, body text "connectivity test."
  2. Resolve the hostname. The address should point at the submission server your provider documented. A stale record after a migration sends the rest of the test to a machine nobody maintains.
  3. Connect on the submission port. Use 587 with STARTTLS or 465 with implicit TLS. Not 25. If one port times out while the other connects, you're looking at a firewall rule, not a bad password.
  4. Read the greeting. Expect 220. Write down the hostname it announces. A banner naming a different machine than the certificate claims is a hard failure.
  5. Send EHLO with your domain. A 250 comes back with a capability list. Save that list. If STARTTLS or AUTH isn't advertised and you need it, stop here.
  6. Negotiate TLS. M3AAWG recommends TLS 1.2 or 1.3 and treats TLS 0.9 through 1.1 as obsolete. A certificate error, a hostname mismatch, or a negotiated downgrade is a hard failure, not a warning to note and move past.
  7. Send EHLO again. Capabilities can change once encryption is on, so the pre-TLS list is now worthless. Continuing to read it is one of the most common mistakes in manual testing.
  8. Authenticate. A test account should return 235. A 530 means the server requires authentication first, which usually means you're still in plaintext or you skipped step 7. Never type a real password into an unencrypted session.
  9. Prove acceptance only if you need to. MAIL FROM returns 250, RCPT TO returns 250, DATA returns 354, you send the body ending with a single period on its own line, and the server returns 250. A rejection here moves you from connectivity to policy.
  10. Quit. 221 and a clean disconnect. A session left hanging shows up in the server's logs as an abandoned connection.

What to log, and what the log proves

A useful utility records the negotiated protocol, the cipher, certificate validity and hostname match, the AUTH result, every SMTP reply code, and elapsed time at each stage. That record is what turns "it worked" into something a mail administrator can act on.

Scripted load tests should reconcile with the transcript. One documented example from SMTPBench shows 495 messages sent, 5 failed, a 99.0% success rate, and a median latency of 120 milliseconds. Those numbers describe the load test, not your inbox placement, and a stack of 250 replies in your terminal doesn't change that.

SMTP Reply Codes and the Right Next Move

Before you touch a single record, read the first digit of the last reply code. That one character sorts a transcript into two piles. A 4xx means the server is telling you to come back later, so retrying is legitimate. A 5xx means something has to change before you try again, and retrying the same way just burns reputation.

Google's enhanced status scheme goes one digit further. In its documentation of SMTP error messages, the second digit names the subsystem: x.1.z is addressing, x.2.x is the mailbox, x.3.x is the mail system, x.5.x is the delivery protocol, x.6.x is content or media, and x.7.x is security or policy.

That's why the code alone can mislead you. A returned 4.4.5 is a temporary network or routing problem. It doesn't prove the recipient address is fake, and deleting a good contact because of it costs you a real lead. Now look at 451 4.7.24, which Gmail documents as temporary rate limiting when a sender's SPF record contains suspicious entries. The fix is the SPF record. A new subject line won't touch it.

The lookup table you'll actually use

Read the family first, then the meaning, then act on the last column only.

Reply Family What it means Next action
220 2xx success Server greeting, ready for EHLO Continue the handshake
250 2xx success That command was accepted Go to the next command
354 3xx intermediate Server is waiting for the message body Send DATA, then a line with only a period
421 or 450 4xx transient Busy, unavailable, or temporary local problem Retry later; do not rewrite DNS yet
451 4.7.24 4xx policy (x.7.x) Temporary rate limit, often suspicious SPF Clean the SPF record, then retry
4.4.5 4xx transient Temporary routing or network trouble Retry; this does not prove a bad address
530 5xx permanent Authentication required before mail Encrypt, authenticate, then retry MAIL FROM
550 5xx permanent Recipient rejected Correct the address; blind retries will not help
554 or 5.7.x 5xx policy (x.7.x) Permanent policy or content rejection Stop retries; fix authentication, content, or policy

Sort the transcript into those buckets before you change anything, and you'll stop "fixing" DNS over a routing hiccup.

A 250 means this server accepted the command. It does not mean Gmail, Outlook, or Yahoo placed the message in the inbox.

When the Handshake Fails

Two habits cause most of the failed tests small teams run into: hammering the same command after a timeout, and pasting a production password into a plaintext session to "just check if it's the credentials." Both make the next diagnosis harder. Fix the stage that broke, then move forward.

Match the symptom to the stage

  • Hostname won't resolve. Check the submission host your provider published and whether a recent DNS change has propagated. Do not keep retrying AUTH. Nothing downstream can work if the name is wrong.
  • 587 times out but 465 connects. A firewall is usually permitting implicit TLS and dropping STARTTLS, or the reverse. The MailGenius SMTP port testing steps walk through which submission port your host should open, so ask for that one rather than swapping ports until something answers.
  • The greeting hostname doesn't match the certificate. Stop. Fix the name before you test a single password, because everything after that point is happening on a connection you shouldn't trust.
  • EHLO advertises STARTTLS but the upgrade fails. Look for a TLS version below 1.2 or a certificate hostname mismatch. Both are hard failures, and both are usually a server configuration problem, not a client one.
  • AUTH returns 530. The session is likely still unencrypted, or the second EHLO never happened and the server is reading a stale capability list. Encrypt, reissue EHLO, then authenticate.
  • MAIL FROM is rejected right after a clean 235. The authenticated user probably isn't permitted to use that envelope sender. That's an authorization decision on the server, so involve whoever administers it.
  • RCPT TO returns 550. Fix the address. Rebuilding SPF for a recipient rejection wastes an afternoon.
  • DATA returns a 5.7.x after the envelope was accepted. The problem has moved from connectivity to policy or content, and no amount of port testing will explain it.

One edge case catches teams on shared hosting relays. A test that passes this morning can start returning 421 once a coworker runs the same session in a loop, because the relay sees a burst rather than a check. Retries belong on 4xx responses. They don't belong on 5xx, and they don't belong on a loop that turns your diagnostic into traffic.

When you escalate, hand the mail administrator four things: the port, the negotiated TLS version, both EHLO replies, and the exact code with its enhanced status. That package saves a round of guessing, and it separates a network problem from a policy one without argument.

Tips Before Daily Volume Crosses 5000

A visual guide outlining three key tips for managing email volume that exceeds 5,000 messages per day.

The session above can stay green while Google's rules for your sending domain change underneath it. Two separate obligations apply, and teams routinely confuse them.

Every sender needs at least one authentication method in place. The higher-volume category gets a stricter list. Google's sender guidelines set the bulk line at more than 5,000 messages per day, and senders above it must have SPF, DKIM, and DMARC all configured. Below it, SPF or DKIM alone satisfies the general requirement.

Run the arithmetic on a real campaign. At 4,900 messages a day, you're under the bulk line and SPF or DKIM covers you. At 5,100, the checklist becomes all three, so verify DMARC before the growth spurt, not after Gmail starts deferring mail. Our SPF and DKIM checker confirms the records in one pass.

The complaint math no banner can show you

Google asks senders to keep the user-reported spam rate below 0.1% and to keep it from reaching 0.3% or higher, per Google's spam rate guidance. Gmail calculates the rate daily. Bulk senders above 0.3% become ineligible for delivery mitigations and must stay under 0.3% for seven consecutive days to regain that eligibility.

Here's where the numbers bite. Thirty complaints among 10,000 delivered messages equals 0.3%, which crosses the high-risk line. Twenty-nine complaints equals 0.29%. One subscriber's click on "report spam" is the entire difference.

Two thresholds to memorize: under 0.1% is the target, 0.3% and above is the danger zone, measured every single day.

Three habits keep a growing sender out of that zone. Verify SPF, DKIM, and DMARC before a volume jump rather than during the week it happens. Watch complaint rate daily once mail is flowing, not just on launch day. And never read a 250 from your own server as evidence Gmail still offers you mitigations, because that reply came from your infrastructure, not Google's.

Check Inbox Placement After a Clean Pass

A 2025 infographic showing email deliverability rates with 83.5 percent in inbox, 6.7 percent in spam, and 9.8 percent missing.

Acceptance and delivery are different claims, and the gap between them is wide. A 2025 benchmark reported 83.5% of messages reaching the inbox, 6.7% placed in spam, and 9.8% missing entirely, according to Validity's 2025 Email Deliverability Benchmark. Read that again: nearly one message in six never reached a human, on a test your handshake would have passed.

That's why a utility that returns a single green result is answering a smaller question than the one you have. Four outcomes deserve four labels: technically accepted, delivered, placed in spam, and missing. Only the first one comes from an SMTP session. The other three depend on authentication alignment, reverse DNS, link reputation, complaint history, and how each provider's filters weigh engagement.

Authentication is necessary and it is not sufficient. You can pass the handshake, pass SPF and DKIM, and still lose a sixth of your volume to filters. The next action is a placement test of the actual message, not another port check.

Run the spam test on the message you actually send

The free email spam test at MailGenius works like this. Copy the unique address shown on the screen, send the exact campaign you care about to it, and click See Your Score. The test email is used for real-time analysis and then discarded, so nothing sits in a mailbox afterward and your sending domain or IP reputation isn't touched.

Within minutes you get a full deliverability report: an inbox placement test view across providers like Gmail, Outlook, and Yahoo, a score, authentication feedback, spam trigger flags, and a list of fixes ordered by impact. Troy Ericson's team built MailGenius for precisely this gap. The SMTP utility proves the server will take the mail; the spam test shows whether mailbox providers will keep it in front of a reader.

If the report surfaces something your team can't map to a record or a content change, that's the moment to book a call with a deliverability consultant. Not before. Run the homepage test against your next campaign first, and let the report tell you which of the four outcomes you're getting.


The gap between a clean handshake and a real inbox is where most campaigns lose revenue, and it's the one thing an SMTP transcript can't measure. MailGenius closes it with a free spam test that simulates Gmail, Outlook, and Yahoo against your actual message and returns a score plus prioritized fixes in minutes. Copy the address on the screen, send the email you're about to launch, and click See Your Score before it goes to your list. Head to MailGenius and run the test today.

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today

Run a Free Email Deliverability Test - Send an Email to the Address Below, then Click “See Your Score”:

Free Email Spam Test:

Will your Email Land in the Spam Folder?

Send an email to the address below to see your Spam Score:
loading...
MailGenius users test over 1M emails per year! By using our Email Tester, you will agree to our Privacy Policy and Terms of Service. The sending email address will receive emails from MailGenius. All tests are hosted on public links.

Try MailGenius Today