Windows 2000 User Installation Settings The function of Windows XP and 2000 itself has the function of the component SMTP server, but is generally not installed. Select Control Panel → Add / Remove Programs → Add / Remove Windows Components, pop up the Windows Component Wizard dialog box, double-click the Internet Information Service (IIS) ", will open the detailed selection, select" SMTP Service ", Press" OK ", insert the Windows XP installation disk After installing the SMTP server, select Control Panel → Performance and Maintenance → Administration Tools → Internet Information Service" Open Internet Information Services Settings window, click local computers on the left side Name, expand the local computer directory, you can see two branches "WED Site" and "Default SMTP Virtual Server". On the Default SMTP Virtual Server, click the Mouse to select Properties, open the Default SMTP Virtual Server Properties window. The "General" tab mainly sets the IP address, click the IP address drop-down item to select "127.0.0.1", indicating that the local computer IP address is pointed, and other items can be used by default. If you are a local area network access, you have a fixed IP address, then the IP address should choose to set access to access in the appropriate address "Access" tab. Click Authentication, select "Anonym Access", indicating that any user can send, other two do not have to choose; click Connect "in" Connection "and" Interrupt "in" Interrupt "in Middle Section, Select" Except only the following list ", indicating that you can access all users access. Setting the mail transfer conditions and restrictions in the Mail tab, four options such as "Limiting Mail Size" can use the default value, no need to change; "Send a copy of the unbeded report to" send unsuccessful mail to send an email The reason for people, and the reason for unsuccessful; "Dead Letter Directory" settings are not sent to successful messages. The mail delivery time is set in the "Transfer" option. Use the default value; "LDAP Routing" option is used to specify the directory server ID and attribute used by the server, and it is not used here. The "Safe" option sets the right user using the send server, the default user is "administrators", you can click Add to add the user. After everything is set, you support your own mail to send the server! SMTP will then be under Window2k, you find PHP. The INI file opens under C: / Winnt to find the following line [Mail function]; for Win32 Only.smtp = 10.0.0.9 ------ "Replace with your IP, 10.0.0.9 is an even IP: ); For win32 only.sendmail_from = test@test.com --- "sender information and restart Apache