Test SMTP Server: Using the Windows Telnet Feature

If you want to confirm your SMTP server is accepting connections and responding correctly, Windows’ built-in Telnet client is a quick, dependency-free way to test it manually. Enabling Telnet Telnet Client isn’t installed by default on modern Windows. Enable it first via Control Panel > Programs > Turn Windows features on or off > Telnet […]

Test Your Smtp Server Using Windows Telnet Feature
If you want to confirm your SMTP server is accepting connections and responding correctly, Windows’ built-in Telnet client is a quick, dependency-free way to test it manually.

Enabling Telnet

Telnet Client isn’t installed by default on modern Windows. Enable it first via Control Panel > Programs > Turn Windows features on or off > Telnet Client, or from an elevated PowerShell prompt: Enable-WindowsOptionalFeature -Online -FeatureName TelnetClient.

Testing the Connection

Open an elevated command prompt and connect to your mail server on port 25:
telnet yourmaildomainname 25
A successful connection returns a banner starting with 220 from the server. From there, walk through a basic SMTP conversation manually:
helo techygeekshome.info
mail from: [email protected]
rcpt to: [email protected]
data
Subject: Test Message

This is a test.
.
quit
Each command should get a numbered response (250 for success at most steps, 354 when it’s ready for the message body). A blank response, a connection refusal, or a timeout at any step tells you exactly where the SMTP flow is breaking down — DNS/firewall, authentication requirements, or the mail server rejecting the sender/recipient. Note many mail servers today require authentication (SMTP AUTH) or TLS before accepting mail, in which case a plain unauthenticated telnet session may get rejected even when the server is working correctly — that’s expected, not necessarily a fault.

One Thing to Check First (2026)

Before troubleshooting further if this test fails, be aware that many residential ISPs and cloud/VPS providers block outbound port 25 by default now, specifically to cut down on spam originating from compromised or misconfigured machines — so a connection timeout from your workstation or a cloud VM doesn’t necessarily mean the mail server itself is unreachable or misconfigured. If you just need a quick reachability check without the full manual SMTP conversation, PowerShell’s Test-NetConnection yourmaildomainname -Port 25 gives you a fast yes/no on whether the port is open before you dig further with telnet.

Resources

Telnet to test your SMTP server 2 telnet to mail server send telnet email from
🛠️

Gear We Recommend

A few general tech accessories worth having alongside this.

Browse our General Tech Accessories picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Active Directory, PowerShell, and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published over 1,500 practical guides covering real-world IT problems and solutions. When not solving IT problems,

Andrew develops free Windows utilities including Ultimate Settings Panel, which has been downloaded over 850,000 times.