Skip to main content
    EmailToolBox LogoEmailToolBox
    HomeAll ToolsSuper Lookup
    Email Health CheckEmail DeliverabilityEmail Blacklist CheckerEmail Header AnalyzerSPF CheckerDKIM CheckerDMARC CheckerMX Lookup
    View All Tools
    SPF CheckerDKIM CheckerDMARC CheckerSPF GeneratorDMARC GeneratorBIMI CheckerMTA-STS Checker
    Guides
    中文
    1. Home
    2. Tools
    3. SMTP Test

    SMTP Test

    Test SMTP server connectivity and configuration

    Opens a real TCP/TLS session to each mail host — no simulated data. The three standard SMTP ports 25, 465 and 587 are probed by default; paste multiple domains for a batch run.
    Targets — one per line
    Domain, mail host, email address or IP. MX records are resolved automatically when you enter a domain.
    Ports
    Ports to probe:

    25 (relay/MTA), 465 (implicit TLS), 587 (submission). These are the only standard SMTP ports.

    Ready to test

    Paste one or more domains, mail hosts or IPs and run the test. Results appear as each host finishes.

    About This Tool

    This page provides original, human-reviewed information about SMTP connection testing. Every result comes from a real TCP or TLS session opened to the mail host: the 220 banner, the full EHLO capability list, STARTTLS negotiation, certificate details, AUTH mechanisms and an open-relay probe. You can batch-test domains, read the raw session transcript, and see which platform answers — Postfix, Exim, Exchange, Gmail, Coremail, a secure email gateway or a cloud relay.

    SMTP testing, explained

    Everything you need to read the results above: what a real SMTP session looks like, what each port is for, how mail platforms are identified, and how to fix what breaks.

    What this test actually does
    This is not a simulated result. Every row below comes from a real TCP (or TLS) session opened from our probe node to your mail host.
    1. 1Resolve the domain's MX records (or use the host name you typed) to find the machine that answers for mail.
    2. 2Open a TCP connection to port 25, 587 and 465 in parallel and measure the handshake time.
    3. 3Read the 220 greeting (the banner) the server prints when the connection opens.
    4. 4Send EHLO, capture the full capability list, then upgrade with STARTTLS when it is offered.
    5. 5Re-send EHLO inside TLS — this is where most servers reveal their AUTH mechanisms.
    6. 6Optionally probe one RCPT TO for a foreign domain to see whether the host relays for anyone.
    7. 7Send QUIT and close. No message body is ever transmitted.

    Nothing is delivered, no mailbox is touched and no credentials are sent. The relay probe issues MAIL FROM / RCPT TO and stops — a server that answers 250 there is a relay risk, but no mail leaves the session.

    Because the probe runs in the cloud, a port that answers from your laptop can still time out here: many hosting providers and ISPs filter outbound port 25. When 25 times out but 465/587 answer, we flag it as an egress block rather than a server fault.

    Ports 25, 465 and 587
    Three ports, three different jobs. Testing all of them is what tells you whether a host can receive mail, whether your applications can submit mail, and how both are encrypted.
    PortRoleEncryptionWho connects
    25Server-to-server relay (inbound MX)Opportunistic STARTTLSOther mail servers on the internet
    587Message submission (RFC 6409)STARTTLS, then usually required AUTHMail clients and applications
    465Implicit TLS submission (RFC 8314)TLS from the very first byteClients that prefer no clear-text handshake
    • Port 25 is the only port other mail servers will ever use to reach you. If it is closed or filtered, inbound mail bounces.
    • Port 587 is the correct default for applications. It expects AUTH, which lets the server separate authenticated users from the open internet.
    • Port 465 is not obsolete. RFC 8314 formally re-registered it for implicit TLS, and many providers now recommend it over STARTTLS because it removes the downgrade window.
    • Port 25 being unreachable from our probe does not automatically mean misconfiguration — residential ISPs, AWS, GCP and most serverless platforms block outbound 25 by default.

    A host that answers on 25 but not on 587/465 is a receiving-only MX. That is normal for inbound gateways — but your own applications must not be pointed at it; use your provider's dedicated submission relay instead.

    Reading the SMTP conversation
    The transcript tab shows the raw dialogue. Once you can read it, you can debug any delivery problem without guessing.
    A healthy port 587 session
    S: 220 mail.example.com ESMTP Postfix
    C: EHLO client.example.org
    S: 250-mail.example.com
    S: 250-PIPELINING
    S: 250-SIZE 52428800
    S: 250-ETRN
    S: 250-STARTTLS
    S: 250-ENHANCEDSTATUSCODES
    S: 250-8BITMIME
    S: 250-DSN
    S: 250 SMTPUTF8
    C: STARTTLS
    S: 220 2.0.0 Ready to start TLS
    C: EHLO client.example.org
    S: 250-AUTH PLAIN LOGIN
    S: 250-ENHANCEDSTATUSCODES
    S: 250 8BITMIME
    C: QUIT
    S: 221 2.0.0 Bye

    Note how AUTH only appears after STARTTLS. That is deliberate: a server that advertises AUTH in clear text invites credential interception. We flag it when we see it.

    KeywordMeaning
    STARTTLSServer can upgrade the connection to TLS on request.
    AUTHAuthentication mechanisms offered (PLAIN, LOGIN, CRAM-MD5, NTLM, XOAUTH2).
    SIZEMaximum message size in bytes the server advertises.
    8BITMIMEAccepts unencoded 8-bit bodies; without it, content must be 7-bit or encoded.
    PIPELININGClient may send several commands without waiting for each reply (faster).
    DSNDelivery Status Notification — structured bounce reports.
    ENHANCEDSTATUSCODESRFC 3463 codes like 5.7.26 that explain failures precisely.
    SMTPUTF8Accepts non-ASCII addresses and headers (internationalised mail).
    REQUIRETLSClient can demand TLS for every hop of the delivery chain.
    CHUNKING / BINARYMIMEBDAT transfer of large or binary messages without dot-stuffing.
    Identifying the remote mail system
    The banner, the EHLO name and the TLS certificate together identify the platform on the other side. We match them against a signature database and report a confidence level.
    PlatformTypical signatureWhat it tells you
    Postfix220 host ESMTP PostfixSelf-hosted Linux MTA; banner often includes the version.
    Exim220 host ESMTP Exim 4.96Self-hosted MTA, common on cPanel/Plesk hosting.
    Microsoft ExchangeMicrosoft ESMTP MAIL Service, Version: 15.xOn-premises Exchange; version maps to a specific CU.
    Exchange Online / M365*.mail.protection.outlook.comTenant is hosted; inbound filtering handled by Microsoft.
    Google Workspace / Gmailmx.google.com / *.google.com ESMTPHosted mailbox, strict TLS and authentication requirements.
    CoremailCoremail SMTP(Anti Spam) SystemWidely deployed in China; also powers NetEase 163/126.
    Tencent QQ / 企业邮*.qq.com, mxbiz*.qq.comHosted mailbox; inbound IP allowlists are enforced strictly.
    Zimbra220 host ESMTP ready Zimbra 9.0Collaboration suite with its own MTA stack.
    Proofpoint / Mimecast / IronPort*.pphosted.com, *.mimecast.com, IronPort bannerTraffic passes a secure email gateway — a rejection here is a policy decision, not a mail-server failure.
    SendGrid / Amazon SES / Mailgunsmtp.sendgrid.net, email-smtp.*.amazonaws.comTransactional relay — designed for submission, never for receiving mail.

    Confidence is reported honestly. A banner match is high confidence; a hostname or certificate match alone is medium; a generic "ESMTP" banner with no vendor string stays unidentified rather than being guessed.

    Diagnosing failures
    Match what you saw in the results to the symptom, then apply the fix in the right order — DNS first, then reachability, then TLS, then authentication.
    SymptomLikely causeWhat to do
    All three ports time outFirewall, security group, or the host is down; DNS points to a stale IP.Confirm the A record resolves to the current IP, then open 25/465/587 inbound at the network edge.
    Port 25 times out, 587/465 answerOutbound port 25 filtered by your network or by our cloud region.Re-test from a different network, or use an external port check; inbound mail is unaffected by outbound filtering.
    Connection refused on 25Nothing is listening, or the service is bound to the wrong interface.Check the MTA is running and listening on 0.0.0.0:25, not only 127.0.0.1.
    421 Service not availableRate limiting, greylisting, or connection throttling.Retry after a delay; do not open many parallel connections to the same host.
    530 5.7.0 Authentication requiredSubmission port requires AUTH before MAIL FROM.Enable SMTP AUTH on the client; on port 25 use your provider's relay instead.
    550 5.7.26 / 550 relay deniedSender domain fails SPF/DKIM/DMARC, or the host does not relay for you.Publish SPF and DMARC, align DKIM, and send through an authorised relay.
    Certificate hostname mismatchCertificate covers a different name than the MX host that answered.Reissue the certificate with the MX hostname in CN or SAN; keep SAN coverage for every MX name.
    No STARTTLS on port 25TLS not configured on the inbound listener.Install a valid certificate and enable opportunistic TLS; add MTA-STS and TLSRPT to make it enforceable.
    Server accepted RCPT for a foreign domainOpen relay — anyone can push mail through this host.Restrict relay rules to authenticated sessions and your own domains immediately; you are likely already blacklisted.
    Hardening checklist
    What a well-configured mail host looks like when you test it from the outside.
    • Port 25 answers with a 220 banner whose hostname resolves forward and backward (PTR matches).
    • STARTTLS is advertised on 25 and negotiates TLS 1.2 or higher with a certificate that matches the MX name.
    • 587 is open for submission and requires AUTH; AUTH is only advertised inside TLS.
    • Relay is denied for domains the server does not host.
    • SPF, DKIM and DMARC are published, so the 550 rejections you see are about reputation, not identity.
    • MTA-STS plus TLSRPT are configured, so downgrade attempts are refused and reported.
    • DANE TLSA records are published if your zone is DNSSEC-signed — the strongest form of inbound TLS enforcement.
    • Certificate expiry is monitored; aim to renew with at least 30 days of margin.

    The score on each result is a weighted read of the checks above, not a deliverability grade. It ignores reputation and content entirely — use the blacklist and spam tools for that half of the picture.

    Provider quick reference
    Submission settings for the platforms people test most often. Use these as a sanity check when your own server behaves differently.
    ProviderSubmission hostPortNotes
    Gmail / Google Workspacesmtp.gmail.com587 / 465Requires an app password or OAuth; personal accounts block plain SMTP by default.
    Microsoft 365smtp.office365.com587Authenticated SMTP may need to be enabled per mailbox in the admin centre.
    Yahoo Mailsmtp.mail.yahoo.com587 / 465App password required when 2FA is on.
    QQ Mail / 腾讯企业邮smtp.qq.com / smtp.exmail.qq.com465 / 587Uses an authorization code, not the mailbox password.
    NetEase 163 / 126smtp.163.com / smtp.126.com465 / 994SMTP must be switched on in the web settings first.
    Amazon SESemail-smtp.<region>.amazonaws.com587 / 465Region-specific host; credentials are SMTP keys, not AWS access keys.
    SendGridsmtp.sendgrid.net587 / 465Username is literally apikey; the password is the API key.
    Zoho Mailsmtp.zoho.com587 / 465Region variants exist (smtp.zoho.eu, smtp.zoho.in).
    Frequently Asked Questions

    Related Tools

    MX Lookup
    Check mail servers
    Email Blacklist Checker
    Check IP reputation
    DNS Lookup
    DNS record queries
    SPF Checker
    Validate SPF records
    DMARC Checker
    Check and analyze DMARC records
    Email Header Analyzer
    Analyze email headers
    DKIM Checker
    Verify DKIM signatures
    WHOIS Lookup
    Domain registration info
    SMTP Test
    Test SMTP connectivity
    SSL Certificate Lookup
    Check SSL certificates
    DNS Propagation Checker
    Check DNS propagation
    Ping Test
    Test network connectivity
    Traceroute
    Trace network path
    Subnet Calculator
    Calculate IP subnets
    What Is My IP
    Check your IP address

    Related Guides

    DANE SMTP Configuration Guide
    SMTP TLS Reporting (TLSRPT) Setup Guide
    Postfix MTA-STS & TLSRPT Setup

    Need Help?

    Our tools are designed to be intuitive, but if you need assistance, we're here to help.

    DocumentationContact Support

    About Our Tools

    Professional-grade email and DNS diagnostic tools trusted by IT professionals worldwide.

    Free to UseNo RegistrationReal-time Results
    EmailToolBox LogoEmailToolBox

    EmailToolBox is a free suite of email testing, deliverability and domain diagnostics tools. Check your email health, validate SPF/DKIM/DMARC, look up DNS records and monitor blacklist status in seconds - no signup required.

    • Free to use
    • No signup required
    • Instant results
    • Real-time DNS checks
    • Privacy-focused

    Email Diagnostics

    • Email Health Check
    • Email Deliverability
    • Email Blacklist Checker
    • Email Header Analyzer
    • Email Verifier
    • HTML Email Validator
    • Email Preview Simulator
    • Spam Test
    • Email Health Report

    Email Authentication

    • SPF Checker
    • DKIM Checker
    • DMARC Checker
    • DMARC Report Analyzer
    • SPF Generator
    • DMARC Generator
    • BIMI Checker
    • MTA-STS Checker

    DNS & Infrastructure

    • MX Lookup
    • DNS Lookup
    • TXT Record Lookup
    • CNAME Record Lookup
    • NS Lookup
    • DNS Propagation
    • PTR/rDNS Record Lookup
    • SMTP Test
    • WHOIS Lookup

    Resources

    • Email Guides
    • All Tools
    • FAQ
    • Contact Us
    • About
    • Privacy Policy
    • Terms of Service

    © 2026 EmailToolBox - Email Testing, Deliverability & Domain Diagnostics. All rights reserved.

    SMTP Test — Batch SMTP Server Check on Ports 25, 465 & 587