First, you must familiarize yourself with the imap4 and stmp protocols for writing emails and know how they send commands to the server and under what circumstances the server replies. For more information about imap4, see here.
We also need to use a test tool telnet to send commands to the server and view the returned results. Configure the Telnet method (in win7 ):
The Windows series developed to the Win7 version without knowing how to do so. Win7 has changed a lot of content and some settings. In Windows 7, how does one start and set Telnet.
Start Windows 7 Telnet
Telnet is a common remote logon and management tool for system administrators. It is integrated into the system as a standard system component in Windows 2000/XP/2003/Vista.
However, by default, the Telnet service is disabled. Generally, you only need to run services. msc open service management, find the Telnet service item, set its startup type to "manual" or "automatic", and then start the service to use it.
However, in Windows 7, you cannot find and enable the Telnet service according to the above method. How can we retrieve the Win 7 Telnet function?
1. Hidden reasons
In fact, Telnet cannot be found in the service manager. Instead of abandoning Telnet in Win7, The Telnet service is not installed in Win7 by default.
This is the first time Microsoft has removed default system components from its personal system via Telnet, which is similar to Windows Server 2008.
I think Microsoft should do this for security reasons. After all, Telnet data is transmitted in plaintext, and attackers can easily obtain sensitive information through sniffing.
Based on security considerations, we recommend that you use a more secure and encrypted SSH remote management method.
2. Install Telnet
However, we do not have to discard food for some reason. It is very convenient to Telnet as an individual user. The installation of Windows 7 Telnet is slightly different from that of Windows Server 2008. You can perform the following operations.
Click Start & rarr; control panel & rarr; programs ", find the program and function and click open or close Windows function to enter the Windows function setting dialog box.
Find and check "Telnet client" and "Telnet server", and click "OK" to complete the installation. In addition, we can also install "TFTP client" and "Internet information service" through this wizard.
After the installation is complete, the Telnet service is disabled by default. You also need to run "start" & rarr; "run" and enter servcies. msc to open the service manager.
Find and double-click the Telnet service item, set the start mode to "manual" (more secure, enable only when needed), and then "start" the service and "OK" to exit.