Skip to content
mailer.tools

SMTP server tester

Connect to any public SMTP server on port 25, 465, 587 or 2525 and see exactly where the conversation succeeds or stops: connection, TLS, certificate, sign-in.

This test has to open a network connection, so it runs on our server. Nothing is logged or stored.

Loading the tool

How to use the SMTP tester

  1. 1Enter the server host name, for example smtp.gmail.com.
  2. 2Pick the port. 587 with STARTTLS is the standard for sending from apps.
  3. 3Optionally add a username and password to test sign-in.
  4. 4Run the test and read the steps, or open the transcript for the raw conversation.

Which port to use

587 is the submission port: the connection starts in plain text and upgrades with STARTTLS before any password is sent. 465 uses TLS from the first byte. Both are fine for sending from an application or mail client.

25 is for server-to-server delivery. Most cloud and home networks block outgoing connections on it, which is why applications hang when they are configured to use port 25. 2525 is an unofficial alternative that many sending services offer for networks where 587 is blocked.

What happens to credentials

A browser cannot open an SMTP connection, so this test runs on our server. If you enter a password, it is used once for the sign-in attempt, only after TLS is established, and is not written to any log or database. The transcript shows it as hidden.

The tester never issues MAIL FROM, so it cannot send a message. For an account you care about, use an app password you can revoke afterwards.

Questions about the SMTP tester

Does this tool send an email?

No. It connects, negotiates encryption, optionally signs in, and disconnects. It never starts a message.

Why does the connection time out on port 25?

Outbound port 25 is blocked on most hosting and consumer networks to limit spam. A timeout here often reflects that block and not a fault in the server. Test 587 or 465 instead.

What does an untrusted certificate mean?

The server's certificate is self-signed, expired, or issued for a different host name. Clients that verify certificates will refuse to connect, and you should not disable verification in production to work around it.

Sign-in fails although the password is right. Why?

Providers such as Gmail and Microsoft 365 reject account passwords over SMTP. Gmail needs an app password with two-step verification on; Microsoft 365 needs SMTP AUTH enabled for the mailbox, or OAuth.