More Information Basic Testing Advanced Testing
There are many different variants of SMTP in the Microsoft product line. The SMTP service for the Microsoft Windows product line is included in Internet Information Services (IIS), while in Microsoft Windows NT Server 4.0, the SMTP service is included in the Option Pack. In newer versions of Windows, IIS has been integrated into the operating system, and you can add IIS using Add or Remove Programs in Control Panel. In addition, both Exchange 2000 and Microsoft Exchange Server 2003 use existing SMTP services and other features in IIS. Microsoft Exchange Server versions 4.0, 5.0, and 5.5 all contain their own versions of SMTP in the form of Internet Mail Connector (IMC) or Internet Mail Service (IMS).
Note: In Exchange 5.0 and later, the Internet Mail Connector (IMC) was renamed to Internet Mail Service.
Before starting a Telnet session, you must have the full SMTP email address of the target user to whom you want to send this test message. The email address must be in the following format: [email protected]
You can also have the fully qualified domain name (FQDN) or IP address of 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 record that contains the information. For additional information about NSlookup, click the article number below to view the article in the Microsoft Knowledge Base: 200525 Using NSlookup.exe
For additional information on how to obtain Internet Mail Exchanger records, click the article below Number to view the article in the Microsoft Knowledge Base: 203204 XFOR: How to Obtain an Internet Mail Exchanger Record
Make sure that SMTP is started on the server that is running the SMTP service. To test if SMTP is up, you can run the basic tests listed in this article and verify that you receive a 220 message from a remote server. This will also verify if SMTP is running.
Note:
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, the SMTP server is unable to recognize what you typed because of a syntax error or a 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 you make a mistake while typing, you must press Enter and start typing the new command.
In the following steps, you run Telnet from the command line. To open the command line, click Start, click Run, type cmd in the Open box, and then click OK.
Note: Press Enter after typing each line of content. telnet servernameport number
For example, type: telnet mail.contoso.com 25
Note: You can use server name Replace with the IP address or FQDN of the SMTP server you are connecting to. Remember to press Enter after typing each command.
If this command works, you will receive a message from the SMTP server similar to the following:
220 site.contoso.com Microsoft Exchange Internet Mail Connector <IMC version number>
Note: Because there are many different versions of Microsoft SMTP or third-party SMTP servers, you may receive different messages from the receiving server. However, you will definitely receive a 220 message containing the FQDN of the server and the version of SMTP. In addition, all versions of Microsoft SMTP include the word "Microsoft" in the 220 message.
Note: You can use the HELO command, but EHLO is a verb in the extended SMTP verb set that is supported by all current Microsoft implementations of SMTP The verb set. Unless you think there is a problem with the extended SMTP verb, it's best to use EHLO.
If the command is successful, you will receive the following message:
250 OK
Note: This address can be any SMTP address you want to use, but it is best to consider the following:
250 OK - MAIL FROM [email protected]
Note: It is best to always use the valid recipient SMTP address in the domain you are sending to. For example, if you are sending to [email protected], you must ensure that [email protected] exists in the domain. Otherwise, you will receive an NDR.
Type the following command using the SMTP address of the person you are sending to: RCPT TO:[email protected]
You will receive the following message:
250 OK - Recipient User@ Domain.Com
You will receive the following message: 354 Send data. End With CRLF.CRLF
Press Enter twice. This command does not display any information.
Note: Press Enter twice to be consistent with Request for Comments (RFC) 822 and 2822. It specifies that the 822 command must be followed by a blank line.
250 OK
You will receive the following message:
221 closing connection
In addition to the basic testing steps listed earlier in this article, you can also use a delivery receipt to test your mail in both directions. You can use this method to verify that the SMTP server can accept inbound connections and generate a delivery receipt for the sender to test the outbound connection to the SMTP server.
To request a delivery receipt for a test mail, see step 4 of the "Basic Testing" section of this article to ensure that the information provided is a valid email address that can receive delivery receipts. Then in step 5 of the "Basic Testing" section of this article, type the following command in a Telnet session: RCPT TO:[email protected] notify=success,failure
,
Q) What is the target application and market positioning of the x3350? Q) Which
Use the group policy to restrict the permission of the executable exe of the website directory, whic
An email address can be divided into two parts. The first part is the user name a
Server Security Dog Remote Desktop Guard provides real-time, proactive remote des
Vsftp500 error simple solution
Entry-level rack service assembly Baotong DIY service
There is no .NET2.0 option card solution in IIS
How to turn off seLinux and iptables firewall in CentOS 6.5 system
Linux server cluster system implementation solution detailed analysis
Remote connection server for linux
An effective method for virtualizing virtual machines in a terminal
Apache server supports CGI program and SSI program setting method
Win10 disk takes up 100% solution
More than Win8.1 stores, WP stores are also full of fake applications
Window/win7 how to update the system?
How to replace the lock screen background wallpaper Win8/Win8.1?
Win8 set the default to enter the desktop tips
How to check the virtual host's large traffic
Windows 8 desktop multi-window fast equalization tile
Win7 can not find the solution to the run box