SMTP tester.

Connect to a mail server and see its greeting, the extensions it supports, and its TLS certificate. We never send mail or log in.

Price
Free, no signup

A hostname or IP address.

Submission with STARTTLS. The usual port for apps and mail clients.

Off

Enter a domain and we look up where it receives mail. Pair it with port 25.

We connect, read the greeting, and check capabilities. We never send mail or log in.

Try
SMTP testerWaiting for input

Server details appear here.

The greeting, capabilities, TLS certificate, and each step with its timing.

What this SMTP tester checks.

We connect, read the greeting, and check capabilities. We never send mail or log in. Each test runs these steps from our server and times each one.

  • Look up the host in DNS and refuse private or internal addresses.
  • Open a TCP connection to the port, or a TLS connection on port 465.
  • Read the 220 greeting.
  • Send EHLO and list the extensions the server advertises. If EHLO is rejected, fall back to HELO.
  • If STARTTLS is offered, upgrade the connection, record the TLS version and certificate, and send EHLO again.
  • Send QUIT and close the connection.

Open the raw transcript to see every line we sent and every line the server sent back.

Which SMTP port to test.

  • 587. The submission port for apps and mail clients. The server should offer STARTTLS before it accepts a login.
  • 465. Submission with TLS from the first byte, also called implicit TLS. RFC 8314 prefers it over STARTTLS for mail submission.
  • 25. Server-to-server delivery. This is the port the servers in your MX records listen on. Most clouds and home ISPs block it outbound, ours included.
  • 2525. Not a standard port. Some providers offer it as a fallback when a network blocks 587.

What STARTTLS does.

SMTP started out as plain text. STARTTLS lets a client upgrade a plain connection to an encrypted one. The client sends EHLO, sees STARTTLS in the reply, sends STARTTLS, and runs a TLS handshake. After that, it sends EHLO again because the server may now offer more, like login methods.

Certificate checks matter here. A certificate can be trusted but issued for another name, or match the name but chain to an unknown issuer. This test reports both, so you can see which one fails.

Reading the SMTP test results.

  • 220 greeting. The server is ready. A 421 or 554 greeting means it is refusing connections right now, often because of load or a block on the connecting IP.
  • Connection refused. Nothing is listening on that port, or a firewall rejects the connection.
  • Timed out. A firewall is dropping traffic, the host is down, or the port is blocked between us and the server. On port 25, that block is often on our side.
  • No STARTTLS. Mail to or through this server travels unencrypted. Most providers now expect TLS.
  • Login methods. AUTH lists how clients can sign in, like PLAIN or LOGIN. Many servers only show it after TLS.

Check an SMTP connection from the command line.

These commands run the same STARTTLS check from your own machine, which helps when port 25 is blocked from ours.

openssl s_client -starttls smtp -connect smtp.example.com:587 -servername smtp.example.com

For port 465, drop the STARTTLS flag.

openssl s_client -connect smtp.example.com:465 -servername smtp.example.com

Test Bento SMTP.

Bento accepts SMTP on yubin.sentbybento.com port 587 with STARTTLS, and requires TLS before login. Pick the Bento SMTP preset to check the connection. The SMTP docs cover credentials, headers, and limits. To check the DNS records behind your sending domain, use the DNS lookup.

Common questions.

What does this SMTP tester check?
It opens a connection to the server, reads the 220 greeting, sends EHLO, and lists the extensions the server advertises. If the server offers STARTTLS, it upgrades the connection, records the TLS version and certificate, and asks for the extensions again. Then it sends QUIT.
Does the SMTP test send email or need my password?
No. We connect, read the greeting, and check capabilities. We never send mail or log in. The only commands we send are EHLO, HELO, STARTTLS, and QUIT, so no MAIL FROM, RCPT TO, DATA, or AUTH.
How do I test an SMTP server?
Enter the SMTP host from your provider settings, pick the port your app uses, and run the test. A good result shows a 220 greeting, STARTTLS on port 587, a trusted certificate that matches the hostname, and the login methods your app needs.
What port should I use for SMTP?
Use 587 with STARTTLS or 465 with implicit TLS to send from an app or mail client. Port 25 is for servers delivering mail to each other, and most clouds and home ISPs block it outbound. Port 2525 is not a standard, but some providers offer it when 587 is blocked.
What is STARTTLS?
STARTTLS is an SMTP command that upgrades a plain connection to an encrypted one. The client connects, sees STARTTLS in the EHLO reply, sends STARTTLS, and runs a TLS handshake. Port 465 skips that step and starts with TLS right away.
Why does my SMTP test on port 25 time out?
Many cloud and hosting providers block outbound port 25 to stop spam, and this tool runs on one of them. A timeout on port 25 can mean we could not reach the port, not that your server is down. Test port 25 from a machine on your own network to be sure.
Why are login methods missing before TLS?
Many servers only advertise AUTH after STARTTLS, so passwords never cross the network unencrypted. That is a good sign. This tester shows the extensions from before and after the upgrade, so you can see the difference.
How do I check an SMTP connection from the command line?
Run openssl s_client -starttls smtp -connect smtp.example.com:587 -servername smtp.example.com for port 587, or openssl s_client -connect smtp.example.com:465 for port 465. A working server prints its certificate and a 250 reply after you type EHLO.

Send from a domain inboxes trust.

Authentication setup and reputation monitoring are part of Bento, not an add-on. Plans start at $29/mo for up to 5,000 Active Users.