Summary
This SMTP test tool builds a ready-to-run swaks, curl, or openssl command from your host, port, security mode, and authentication method. It also flags mismatches such as STARTTLS on port 465 before you waste a debugging round. It runs in your browser and never sees your password. Run the command from your own terminal and read the reply codes to find where the connection fails.
SMTP test tool: build the command, then run it
Enter your host, port, and security mode. Get a swaks, curl, or openssl command that tests the real server from your own terminal. Nothing leaves your browser.
What the builder checks before you run anything
Port and security must agree
Port 587 is the submission port and expects STARTTLS. Port 465 expects TLS from the first byte, as set out in RFC 8314. The builder compares your port to your security mode and warns when they disagree, which is the most common cause of a hung handshake.
One command per client
swaks, curl, and openssl s_client express the same exchange in different flags. The builder maps your settings to each one, including the STARTTLS flag, the TLS-on-connect flag, and the AUTH mechanism, so you do not have to remember which tool spells it which way.
Credentials stay out of the page
There is no password input. The commands read SMTP_PASS from your shell, and the manual openssl session shows how to base64-encode it yourself. Hostnames and addresses are validated before they reach the command, so a stray quote cannot change what runs.
A browser cannot open an SMTP connection
Web pages cannot open raw TCP sockets, so any site that claims to test SMTP from a browser is either running the connection from its own servers or not testing at all. Running it from your terminal is the better test anyway. You see what your network, your firewall, and your resolver see when your application sends mail. That is the same reason we read SMTP replies off a trace rather than a status badge. The reply code and its text tell you which stage failed.
- 220 means the TCP connection and the greeting worked
- 250 after EHLO lists what the server offers, including STARTTLS and AUTH
- 235 means the credentials were accepted
- 250 after the final dot means the message was queued, not delivered
Read the failure in the order it happens
SMTP fails in stages. Find the stage first, then fix that stage and nothing else.
-
1
No greeting at all
The connection timed out or was refused. Check the hostname, the port, and outbound firewall rules. Many cloud networks block outbound port 25 by default, so test 587 or 465 instead.
-
2
Greeting, then a TLS error
The security mode does not match the port. Switch between STARTTLS and implicit TLS, or read the certificate with the openssl command to see what the server presents.
-
3
TLS works, authentication fails
A 530 means the server wants STARTTLS or AUTH first. A 535 means it rejected the credentials. Check for API keys, app passwords, and whether the username must be a full address.
-
4
Authenticated, message refused
A 550 or 554 after RCPT TO or DATA is a policy answer. Check that the sender domain is verified with the provider and that the recipient address is valid.
SMTP test tool questions
Is this SMTP test tool free?
Does it connect to my SMTP server?
Why is there no password field?
Which port should I test first?
The connection times out before any 220 greeting. What does that mean?
What does a 535 reply mean?
When should I use swaks, curl, or openssl?
Does a 250 after DATA mean the email will reach the inbox?
Track the sends behind your own SMTP tests
A passing handshake is the first check, not the last one. Notification Harbor adds trace-level observability per send, domain warmup, and SPF, DKIM, and DMARC set up before the first production send.