- Posts: 176
- Thank you received: 0
Telnet POP3 Server for test
- JudgeFredd
- Topic Author
- Offline
- Administrator
Less
More
10 months 2 weeks ago #42
by JudgeFredd
Telnet POP3 Server for test was created by JudgeFredd
link til hjemmeside:
support.microsoft.com/kb/187785
How to use Telnet to test an Internet Mail connection
Article ID: 187785 -View products that this article applies to.
Retired KB Content Disclaimer
This article was previously published under Q187785
If you are a Small Business customer, find additional troubleshooting and learning resources at theSupport for Small Business site.
Expand all |Collapse all On This Page
SUMMARYMORE INFORMATIONEstablishing a Telnet Session to the POP ServerUsing POP Commands in a Telnet SessionTelnet CommandsREFERENCESPropertiesGive FeedbackSUMMARY
This article describes how to use the Telnet terminal program to test a connection to a POP3 server.
The following topics are covered in this article:
Establishing a Telnet session to the POP serverUsing POP commands in a Telnet session
Back to the top | Give FeedbackMORE INFORMATION
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 of several emulation types.
To establish a Telnet session, follow these steps:Use your Dial-up Networking connection to connect to the Internet through your ISP.Click the Start button, point to Programs, and then click MS-DOS Prompt. In Microsoft Windows NT, this item is labeled Command Prompt.In the MS-DOS window, type the following:
telnet <POP server name or IP address> 110Press the ENTER key. The Telnet window appears and displays a welcome message. This message will be preceded by +OK and will vary depending on the software installed on the POP Server.NOTE: The default port defined for communications to a POP server is 110. Your ISP may have defined a different port for your server. If there is difficulty establishing a connection through the default port, consult the ISP for information about the server configuration.
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:On the Terminal menu, click Preferences.In Terminal Preferences, click to place a check at Local Echo." Click OK.If, when you type, each letter that you type appears twice, use the above procedure to deactivate Local Echo.Using POP Commands in a Telnet SessionThis section outlines some basic POP commands that you can use to verify the connection and condition of your mail box on the POP server. Before beginning sending commands with Telnet, you may want to define a log file to capture the text of the session. To capture a Telnet log, follow these steps: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.Telnet will capture the current session as you enter commands. The log will close when you quit Telnet. You may cancel the log at any time during a Telnet session by clicking Stop Logging on the Terminal menu.
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 be recognized. In most cases you will receive a command error. Reentering the command is necessary in these cases. If you make a mistake when entering the password, however, most servers will terminate the session, and you must establish a new session.Telnet CommandsUSERThis command identifies you as a registered account on the server. After you see the server welcome message mentioned above, typeUSER <account name> After entering the USER information, the server will return a line that reads, "+OK Password required for <account name>."PASSTypePASS <your password> If the password is accepted, the server will return a line similar to: "+OK <account name> has <n> message(s) (MMMMM)octets", where <n> is the number of messages stored in your mailbox on the server and (MMMMM) is the total size of all messages.LISTType LIST at the prompt. The server will return "+OK <n> messages <MMMMM> octets), a list of the messages including their numbers, and the individual message sizes.
RETRThis command will retrieve the text of a message. For example, if you wish to retrieve message number 4, type at the prompt, "RETR 4."
DELEThis command allows you to delete a message from the POP server. To delete a message enterDELE <n>, where <n> is the message number determined from the LIST command. For example, to delete message number 4, enter the command "DELE 4."
QUITThis command permits you to quit the Telnet 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.
Back to the top | Give FeedbackREFERENCES
support.microsoft.com/kb/187785
How to use Telnet to test an Internet Mail connection
Article ID: 187785 -View products that this article applies to.
Retired KB Content Disclaimer
This article was previously published under Q187785
If you are a Small Business customer, find additional troubleshooting and learning resources at theSupport for Small Business site.
Expand all |Collapse all On This Page
SUMMARYMORE INFORMATIONEstablishing a Telnet Session to the POP ServerUsing POP Commands in a Telnet SessionTelnet CommandsREFERENCESPropertiesGive FeedbackSUMMARY
This article describes how to use the Telnet terminal program to test a connection to a POP3 server.
The following topics are covered in this article:
Establishing a Telnet session to the POP serverUsing POP commands in a Telnet session
Back to the top | Give FeedbackMORE INFORMATION
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 of several emulation types.
To establish a Telnet session, follow these steps:Use your Dial-up Networking connection to connect to the Internet through your ISP.Click the Start button, point to Programs, and then click MS-DOS Prompt. In Microsoft Windows NT, this item is labeled Command Prompt.In the MS-DOS window, type the following:
telnet <POP server name or IP address> 110Press the ENTER key. The Telnet window appears and displays a welcome message. This message will be preceded by +OK and will vary depending on the software installed on the POP Server.NOTE: The default port defined for communications to a POP server is 110. Your ISP may have defined a different port for your server. If there is difficulty establishing a connection through the default port, consult the ISP for information about the server configuration.
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:On the Terminal menu, click Preferences.In Terminal Preferences, click to place a check at Local Echo." Click OK.If, when you type, each letter that you type appears twice, use the above procedure to deactivate Local Echo.Using POP Commands in a Telnet SessionThis section outlines some basic POP commands that you can use to verify the connection and condition of your mail box on the POP server. Before beginning sending commands with Telnet, you may want to define a log file to capture the text of the session. To capture a Telnet log, follow these steps: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.Telnet will capture the current session as you enter commands. The log will close when you quit Telnet. You may cancel the log at any time during a Telnet session by clicking Stop Logging on the Terminal menu.
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 be recognized. In most cases you will receive a command error. Reentering the command is necessary in these cases. If you make a mistake when entering the password, however, most servers will terminate the session, and you must establish a new session.Telnet CommandsUSERThis command identifies you as a registered account on the server. After you see the server welcome message mentioned above, typeUSER <account name> After entering the USER information, the server will return a line that reads, "+OK Password required for <account name>."PASSTypePASS <your password> If the password is accepted, the server will return a line similar to: "+OK <account name> has <n> message(s) (MMMMM)octets", where <n> is the number of messages stored in your mailbox on the server and (MMMMM) is the total size of all messages.LISTType LIST at the prompt. The server will return "+OK <n> messages <MMMMM> octets), a list of the messages including their numbers, and the individual message sizes.
RETRThis command will retrieve the text of a message. For example, if you wish to retrieve message number 4, type at the prompt, "RETR 4."
DELEThis command allows you to delete a message from the POP server. To delete a message enterDELE <n>, where <n> is the message number determined from the LIST command. For example, to delete message number 4, enter the command "DELE 4."
QUITThis command permits you to quit the Telnet 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.
Back to the top | Give FeedbackREFERENCES
Please Log in to join the conversation.
Time to create page: 0.437 seconds