DNS RobotDNS Propagation Checker
HomeDNS LookupWHOIS LookupIP LookupSSL Check
DNS RobotDNS Propagation Checker

Next-generation DNS propagation toolkit

Privacy PolicyTerms of ServiceAbout UsContact

DNS Tools

DNS LookupDomain to IPNS LookupMX LookupCNAME LookupView all

Email Tools

SPF Record CheckerDMARC CheckerDKIM CheckerSMTP Test ToolEmail Header AnalyzerView all

Website Tools

WHOIS LookupDomain AvailabilitySubdomain FinderCMS DetectorLink AnalyzerView all

Network Tools

Ping ToolTraceroutePort CheckerHTTP Headers CheckSSL Certificate CheckView all

IP Tools

IP LookupWhat Is My IPIP Blacklist CheckIP to HostnameASN LookupView all

Utility Tools

QR Code ScannerQR Code GeneratorMorse Code TranslatorText to Binary ConverterSmall Text GeneratorView all
© 2026 DNS Robot. Developed by ❤ Shaik Brothers
All systems operational
Made with
  1. Home
  2. /
  3. Email Tools
  4. /
  5. SMTP Test

SMTP Test

Test SMTP server connectivity instantly. Our free SMTP test tool checks banner response, EHLO capabilities, STARTTLS encryption, TLS protocol and cipher, response time, and provides a full conversation log. The most comprehensive SMTP checker online — supporting ports 25, 465, 587, and 2525.

Free SMTP ToolSMTP Server TestSTARTTLS CheckTLS Encryption
SMTP Connection Test

What Is SMTP?

SMTP (Simple Mail Transfer Protocol) is the standard protocol for sending email across the internet. Defined in RFC 5321, SMTP handles the transmission of email messages from a sender's mail client to the recipient's mail server. Every email you send — whether from Gmail, Outlook, or a custom mail server — relies on SMTP to deliver the message. An SMTP test verifies that a mail server is reachable, accepts connections, and supports the expected features like encryption and authentication.

Our free SMTP test tool goes beyond a simple ping. It performs a full SMTP handshake: connecting on your chosen port, reading the banner, sending an EHLO command to discover server capabilities, checking STARTTLS support, upgrading to TLS encryption, and recording the entire conversation. Whether you're debugging email delivery, verifying a new mail server setup, or auditing encryption compliance, this SMTP tester gives you complete diagnostic data in seconds.

SMTP test tool showing server connectivity with banner grab, EHLO capabilities, and STARTTLS status
DNS Robot's SMTP test tool shows connection status, banner code, EHLO capabilities, STARTTLS encryption, and full conversation log.

How to Test SMTP Server (3 Methods)

There are several ways to test SMTP server connectivity and diagnose email delivery issues. Our online SMTP checker is the fastest method, but command-line tools also work for manual testing.

How SMTP works showing client connection, banner response, EHLO command, and STARTTLS upgrade
How SMTP works: client connects, server sends banner, EHLO discovers capabilities, STARTTLS upgrades to encryption, then email is transmitted securely.
1
Online SMTP Test Tool (Recommended)
Enter the SMTP server hostname and port above and click "Test SMTP". The tool connects to the server, grabs the banner, sends EHLO, checks STARTTLS support, negotiates TLS encryption, and shows the full conversation log. No installation needed — works instantly in your browser.
2
Using Telnet (Mac/Linux/Windows)
Run telnet smtp.example.com 25 in your terminal. You'll see the banner, then type EHLO yourdomain.com to discover capabilities. Type STARTTLS to upgrade encryption. Useful for manual debugging but limited — no TLS cipher details. For DNS-level checks, try our DNS Lookup tool.
3
Using OpenSSL or PowerShell
For TLS-wrapped connections (port 465): openssl s_client -connect smtp.gmail.com:465. For STARTTLS: openssl s_client -starttls smtp -connect smtp.gmail.com:587. On Windows PowerShell: Test-NetConnection smtp.gmail.com -Port 587 tests basic connectivity.

SMTP Ports Explained

SMTP uses different ports for different purposes. Understanding which port to use is essential when you test SMTP servers. Here are the four main ports:

Port 25 — SMTP Relay
Server-to-server delivery

The standard SMTP port for server-to-server email transfer. Used by MX servers to receive mail. Often blocked by ISPs and cloud providers for residential connections to prevent spam. Supports optional STARTTLS encryption.

Port 465 — SMTPS (Implicit TLS)
Encrypted from the start

Uses implicit TLS — the connection is encrypted immediately without a STARTTLS step. Originally deprecated, it was re-standardized in RFC 8314 (2018) for email submission. Gmail, Outlook, and most providers support it. Ideal when STARTTLS might be stripped by a middlebox.

Port 587 — Mail Submission
Client-to-server with STARTTLS

The recommended port for email clients to submit messages. Requires authentication (AUTH) and uses STARTTLS to upgrade to encryption. Defined in RFC 6409. Most email providers (Gmail, Microsoft 365, Amazon SES) use this port for outbound email.

Port 2525 — Alternate
Fallback when others are blocked

An unofficial alternate SMTP port used when port 25, 465, or 587 is blocked by a firewall or hosting provider. Not an IANA-registered port, but widely supported by services like SendGrid, Mailgun, and Amazon SES as a fallback. Supports STARTTLS.

SMTP Response Codes Reference

When you test SMTP, the server responds with numeric codes. Understanding these codes helps diagnose email issues. Here are the most important ones:

220
Service Ready

Server is ready and accepting connections. This is the expected banner response when an SMTP connection succeeds.

250
OK / Action Completed

The requested action was completed successfully. Used in EHLO responses and after MAIL FROM / RCPT TO commands.

354
Start Mail Input

Server is ready to accept the email body. Sent after DATA command. End the message with a line containing only a period (.).

421
Service Unavailable

Server is temporarily unavailable. Usually means the server is overloaded, undergoing maintenance, or rate-limiting connections.

450
Mailbox Unavailable

The requested mailbox is temporarily unavailable. Usually a temporary condition — the sending server should retry later (greylisting, quota).

500
Syntax Error

The server did not recognize the command. Usually indicates a protocol error, unrecognized command, or line too long.

550
Mailbox Not Found

The recipient mailbox does not exist or the action was rejected. Permanent error — check the email address or use our MX Lookup to verify mail routing.

554
Transaction Failed

Connection refused permanently. Often due to IP blacklisting, policy violations, or sender reputation. Check our IP Blacklist Checker.

SMTP Encryption Checks

Our SMTP test checks these security aspects automatically:

STARTTLS support in EHLO capabilities
TLS handshake success/failure
TLS protocol version (TLSv1.2, TLSv1.3)
Cipher suite identification (e.g., AES-256-GCM)
Implicit TLS detection (port 465)
AUTH mechanism enumeration
Full SMTP conversation logging

SMTP Security Best Practices

Always enable STARTTLS or use implicit TLS (port 465)
Require authentication (AUTH) for mail submission
Use port 587 for client submission, not port 25
Support TLSv1.2+ (disable TLSv1.0 and SSLv3)
Configure SPF, DKIM, and DMARC for email authentication
Monitor your IP reputation with blacklist checks
Use strong ciphers (AES-256, CHACHA20) and forward secrecy
Implement MTA-STS and DANE for transport-layer security
SMTP TLS encryption comparison showing STARTTLS upgrade versus implicit TLS connection flow
STARTTLS (ports 25/587) starts unencrypted then upgrades, while implicit TLS (port 465) encrypts the entire connection from the first byte.

Related Email & DNS Tools

SPF Checker

Check SPF records, count DNS lookups, and resolve include chains.

DMARC Checker

Check DMARC policy, reporting settings, and alignment mode.

DKIM Checker

Validate DKIM records, auto-detect selectors, and check key strength.

MX Lookup

Check MX records and detect email providers for any domain.

Port Checker

Test if any TCP port is open or closed on a server.

IP Blacklist Checker

Check if your mail server IP is blacklisted on major RBLs.

Frequently Asked Questions About SMTP Test

What is an SMTP test?

An SMTP test checks whether a mail server is reachable and functioning. It connects on a specified port, reads the banner, sends EHLO to discover capabilities, and checks STARTTLS encryption. This helps diagnose email delivery issues and verify server configuration.

How do I test an SMTP server?

Enter the SMTP server hostname (e.g., smtp.gmail.com) and select a port (25, 465, 587, or 2525). Click "Test SMTP" and the tool will connect, grab the banner, send EHLO, check STARTTLS, and report TLS details. You can also use telnet in your terminal.

What is the difference between ports 25, 465, and 587?

Port 25 is for server-to-server relay (often blocked by ISPs). Port 587 is for mail submission with STARTTLS. Port 465 uses implicit TLS (encrypted from the start). Port 2525 is an unofficial alternate when others are blocked.

What is STARTTLS?

STARTTLS upgrades a plain-text SMTP connection to encrypted TLS. After connecting on port 25 or 587, the client sends "STARTTLS", the server responds "220 Ready", and a TLS handshake occurs. Unlike port 465, STARTTLS starts unencrypted.

What does SMTP banner code 220 mean?

Code 220 means the server is ready. Other codes: 421 = temporarily unavailable, 450 = mailbox unavailable, 554 = connection refused (often due to IP blacklisting). Our SMTP checker explains each code automatically.

What is the EHLO command?

EHLO (Extended HELO) identifies the client and requests server capabilities. The server responds with extensions like STARTTLS, AUTH mechanisms (PLAIN, LOGIN, XOAUTH2), SIZE limits, PIPELINING, and 8BITMIME. EHLO replaced the older HELO command.

Why is my SMTP connection timing out?

Common causes: port 25 blocked by ISP, firewall blocking outbound connections, incorrect hostname, or server is down. Try port 587 or 465 instead. Verify the hostname with our DNS Lookup tool.

How do I check if STARTTLS is supported?

Our SMTP test tool checks automatically. After EHLO, it looks for "STARTTLS" in the capability list, attempts the upgrade, and reports the TLS protocol version and cipher suite. You can also check the SMTP conversation log.

What SMTP authentication mechanisms exist?

Common AUTH mechanisms: PLAIN (base64 username/password), LOGIN (legacy base64), XOAUTH2 (OAuth 2.0 for Gmail/Microsoft), CRAM-MD5 (challenge-response), and SCRAM-SHA-256 (most secure). Our tool shows which mechanisms the server supports.

How to test SMTP with telnet?

Open terminal and type: telnet smtp.example.com 25. After the 220 banner, send EHLO, MAIL FROM, RCPT TO, DATA, your message, then a period to send. Type QUIT to disconnect. Our online tool automates this and checks STARTTLS too.

How to test SMTP relay?

Connect on port 25 and send to an external address. If the server accepts RCPT TO for a non-local domain, relay is open — a security risk that leads to blacklisting. Use our SMTP test to check connectivity, then verify relay restrictions with different sender/recipient combinations.

Is this SMTP test tool free?

Yes, completely free with no registration. Test any SMTP server on ports 25, 465, 587, or 2525. Get banner analysis, EHLO capabilities, STARTTLS detection, TLS details, response time, and a full conversation log. No rate limits.