How to use Telnet to test an Internet Mail Connection
This article was previously published under Q196748
This article describes how to use the Telnet terminal program to test aconnection to a POP3 server. The following topics are covered:
- Establishing a Telnet session to the POP server
- Using POP commands in a Telnet session
Establishing a Telnet Session to the POP ServerTelnet is a terminal emulation program supplied with Microsoft Windows.With Telnet, you can establish a host session to a server using one ofseveral emulation types.
To establish a Telnet session, follow these steps:
- Use your Dial-up Networking connection to connect to the Internetthrough your ISP.
- Click the Start button, point to Programs, and then click Command Prompt.
- In the MS-DOS window, type the following:
telnet <POP server name or IP address> 110
- Press the ENTER key. The Telnet window appears and displays a welcomemessage. This message will be preceded by +OK and will vary depending on the software installed on the POP Server.
Additionally, you may need to enable Local Echo to see characters as they are typed. To set local echo in a Telnet session, follow these steps:
Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), or Microsoft Windows NT 4.0
- On the Terminal menu, click Preferences.
- In Terminal Preferences, click to select the Local Echo check box.
- Click Start, click Run, and then type telnet.exe to start the telnet program. For example, type telnet pop.microsoft.com 110
- Type Ctrl+] .
- Type the following command: For Windows 2000:
For Windows XP:
- Press Enter on a blank line.
Using POP Commands in a Telnet SessionThis section outlines some basic POP commands that you can use to verifythe connection and condition of your mail box on the POP server. Beforebeginning sending commands with Telnet, you may want to define a log fileto capture the text of the session. To capture a Telnet log, follow thesesteps on a Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), or Microsoft Windows NT 4.0-based computer:
- On the Terminal menu, click Start Logging.
- In Open Log File, type a file name for the current log. Note the folder location of the file. The default location is the Windows folder.
- Click OK.
NOTE: Telnet does not have a full-featured text editor. If you make a mistake and then backspace to correct the mistake, the command may not berecognized. In most cases you will receive a command error. Reentering thecommand is necessary in these cases. If you make a mistake when enteringthe password, however, most servers will terminate the session, and youmust establish a new session.
IMPORTANT: The DELE command should be used with care and in extreme cases where a specific message is blocking mail delivery. It is strongly recommended that you retrieve the text of the message into a log file as described above before attempting to delete it.
How to enable Telnet on Windows Vista-based computers and on Windows 7-based computers
- Click the Start button, click Control Panel, click Programs, and then click Turn Windows features on or off.
- In the Windows Features dialog box, select the Telnet Client check box.
- Click OK. A configuration window should appear. The installation might take several minutes. When the installation is complete, the configuration window will close without prompting that setup is complete.
- To open Telnet, click the Start button, type Telnet in the Start Search box, and then press ENTER.
- To use Telnet to connect to a remote server, type open <server name> <port#> at the command prompt, and press ENTER.
- When you are finished with Telnet, you can uninstall it from the user’s computer. To do this, return to the Turn Windows features on or off window, click to clear the Telnet Client check box, and then click OK. A configuration window should appear. When it closes, Telnet has been uninstalled.
- To verify that Telnet has been uninstalled, click the Start button, and then type Telnet in the Start Search dialog box. The search results should display a "No items match your search" message.
For more information on configuring a Dial-up Networking connection to theInternet in Windows 95, click the following article number to view the article in the Microsoft Knowledge Base:
138789 How to Connect to the Internet in Windows 95For more information on configuring a Dial-up Networking connection to theInternet in Windows NT, click the following article number to view the article in the Microsoft Knowledge Base:
156569 How to Connect to Internet Service Providers from Windows NT
OL2K ol2002 ol2003 ol2007
Article ID: 196748 - Last Review: 09/20/2011 19:49:00 - Revision: 8.0
Microsoft Office Outlook 2007, Microsoft Office Outlook 2003, Microsoft Outlook 2002 Standard Edition, Microsoft Outlook 2000 Standard Edition
- kbhowto KB196748