In the use of Telnet sessions, we can still take some effective measures for SMTP communication. today we will explain this part. you can select the following troubleshooting steps based on your problem type. for example, if you encounter problems when sending emails through SMTP between two Microsoft Exchange 2000 Server servers, you can test the SMTP connection by using Telnet on the sending server to connect to port 25 on the target server. or, if you encounter problems when receiving SMTP emails from the Internet, you can follow the steps listed in this article, test the connection between a host residing on the Internet but not on your network and your SMTP server.
More information
The Microsoft product line contains multiple SMTP variants. the SMTP service of Microsoft Windows product line is included in Internet Information Service (IIS), while in Microsoft Windows NT Server 4.0, SMTP service is included in Option Pack. in a newer version of Windows, IIS has been integrated into the operating system, and you can use "add or delete programs" in "Control Panel" to add IIS. in addition, both Exchange 2000 and Microsoft Exchange Server 2003 use the existing SMTP service and other functions in IIS. microsoft Exchange Server versions 4.0, 5.0, and 5.5 all contain their own SMTP versions, in the form of Internet Mail Connector (IMC) or Internet Mail Service (IMS ).
Note: In Exchange 5.0 and later versions, Internet Mail ctor (IMC) is renamed as Internet Mail Service.
Before starting a Telnet session, you must have the complete SMTP email address of the target user to send the test email to. The email address must be in the following format:
User@Site.Domain.com
You can also have a fully qualified domain name (FQDN) or IP address for the server computer running the SMTP service, for example, 10.120.159.1 ). if the server is in your organization, you may already have this information. if the server is an external server, the easiest way to find this information is to use Nslookup.exe to find the DNS records containing this information. for more information about NSlookup, click the following article number to view the article in the Microsoft Knowledge Base:
200525 use NSlookup.exe
For more information about how to obtain Internet Mail switch records, click the following article number to view the article in the Microsoft Knowledge Base:
203204 XFOR: how to obtain Internet Mail switch records
Make sure that SMTP is enabled on the server that runs the SMTP service. to test whether SMTP has been started, you can run the basic test listed in this article and verify that you will receive the 220 message from the remote server. this will also verify whether SMTP is running.
Note:
Some Telnet applications require you to enable the local ECHO function to view the entered command. to perform this operation in a Microsoft Telnet session, type set local_echo at the command prompt.
In Microsoft Windows XP, type set localecho instead of set local_echo.
Basic test
Follow these steps to ensure that the host and remote SMTP server can communicate. if you receive the following error message after you type any of the following commands, it means that the SMTP server cannot identify the content you typed because of a syntax error or command error:
500 Command not recognized
Check the command and type it again, or verify that you are communicating directly with the Microsoft SMTP server.
Note: Microsoft Telnet does not allow you to use the Backspace key. If an error occurs while typing, you must press Enter and start typing a new command.
In the following steps, run Telnet from the command line. to open the command line, click Start, click Run, Type cmd in the open dialog box, and then click OK ".
You can start a Telnet session by using the Telnet command in the following format:
Note: Press Enter after each line of content is entered.