Search OutlookPower's 9,596 Outlook and all-things-email article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
THIS WEEK'S POWERTIP
The ol' port 25 telnet test
By David Gewirtz

Have you ever tried to send or receive email and had it fail? Sure, we all have. What do you do now? For many of us, we just wait a while and try again, to see if the server's back or the problem goes away.

But you can take a more proactive approach that'll give you some more detail. In fact, with a few simple command lines, you can learn whether your server is running and whether you can reach it.

The first step is determining what mail server you're using. At home, I get mail from our corporate ZATZ server, but I'm forced to send mail out through our cable modem ISP's mail server. Many ISPs do this and it can be very annoying. That said, sometimes their server goes down and if you can confirm it, you can save yourself a lot of work.

My cable modem comes from Cablevision and their mail server is at mail.optonline.net. If you can't connect to the server, the first thing you're going to want to know is if there's a valid network connection to it. This is called a ping test.

Doing a ping
To ping a server, simply open up a DOS window (the easy way is to select Run from your start menu and type CMD). Once your DOS window is open, type "ping" followed by the address you want to test, as I do in Figure A.

FIGURE A


I can reach the mail server. Roll over picture for a larger image.

As you can see, the ping test returns four reply lines. If you get something like this, with the time= portion relatively low, you've got a good connection to the server.

In effect, from this one test, we know I'm connected to the Internet, I'm traveling through my router, I'm sending a packet to the server machine, it's running, it's on the network, and it can get replies back to me.

If you get a time-out message or some other message, you've got a connection problem of some sort. At that point, you'd want to diagnose whether it's at your ISP or on your own machine, or somewhere in-between.

Doing a port 25 telnet test
Now that you know the mail server box is running, it's time to see whether the server itself is willing or able to talk to you. Outbound email travels using SMTP (Simple Mail Transport Protocol), which travels over TCP (Transport Control Protocol) port 25.

What you want to do is see if you can talk over port 25 to your mail server. This is easy, using a one-line command. Just type the following:

telnet mail.optonline.net 25

You'll want to substitute the mail.optonline.net address with your own server.

Once you type this into your DOS window and hit return, you'll hopefully see some sort of response from your mail server, like that in Figure B.


1  ·  2  ·  Next »
Other articles you might like
Home > Troubleshooting (86 articles)
   How to ask for help (if you ever expect to get any)
   What to do when Outlook crashes sending attachments
   Can Outlook run when it's not running (and other mysteries)?
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent OutlookPower Articles
The strange case of Outlook losing notes and requiring passwords
Why I'm choosing to stick with Outlook 2007
Three ways to avoid email distraction and take back control of your time
Twenty ways to use email to commit career suicide
The two most motivational words in the English language
Diagnosing corrupted email headers
Email offenders
OutlookPower News Center
New Filing Assistant from Allometa
Dropbox bridges gaps in Microsoft's mobile sync
SmartBear Software Releases AQtime 7.0 Pro
6 Super Wi-Fi Tools for Windows
Microsoft Revives Windows 7 Family Pack Discount
Microsoft releases FixIt for critical flaw in 100 apps
M-Files Cloud Vault Easy, Hosted Document Management
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Smartphone smarts for a mobile world
David Gewirtz Online: CNN commentary and analysis
DominoPower: It's time for Lotus to double-down on Linux and open source
-- Advertisement --

Write for OutlookPower today!
Share your experience and expertise with other Outlook and Exchange users, administrators, and developers. OutlookPower Magazine has grown nicely and now has new opportunities for contributing authors and editors.

Write about something you're an expert on and get your name in lights.

For Writers' Guidelines and to discuss topics, contact Staff Editor Steve Niles. This is your opportunity to shine in front of your peers, your clients, and other readers.

Click for more info!

-- Advertisement --

Printing emails and attachments has never been simpler
When it comes to printing emails or attachments, you can be confident that our Auto-Print add-in can do what Outlook lacks - print the emails and/or attachments as soon as they arrive.

Discover this professional tool today.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
The Power Magazine for Microsoft Outlook and Exchange Users at OutlookPower.com
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Outlook is a trademark of Microsoft Corporation.
Editor's Login