The method to enable SMTP service in win7 is as follows:
1. First determine whether to enable the IIS service; enter "inetmgr" in the operation, if an error is prompted, it means that it is not installed. Go to step 2, otherwise go to step 3;
2. Open Control Panel -> Programs -> Turn Windows features on or off. Select IIS and ASP.NET.
3. After the installation is complete, enter the IIS interface, enter your own host interface, and select the SMTP server;
4. Make the following settings: Email address: [email protected]
SMTP server select "Use localhost"
Port: 25
5. Select Apply.