Home >Backend Development >PHP Tutorial >PHP Installation Guide: Frequently Asked Questions (3)_PHP Tutorial
6.
Q: How to use the MAIL function to send emails under WINDOWS?
Answer: PHP uses the SENDMAIL program to send emails under UNIX/LINUX. There is no SENDMAIL in WINDOWS, but it can be done using the SMTP protocol. The specific method is as follows: Modify the [mail function] of the PHP.INI file. SMTP.
For example:
[mail function]
SMTP=public.sta.net.cn ;Win32 Only
7.
Question: php+apache under win9x Setting up a question
When running: "cannot determine local host name, use servername to set it manually"
If you have an IP address, just add:
ServerName to httpd.conf http://your IP
For example: ServerName http://162.105.38.100