Home >Backend Development >PHP Tutorial >PHP Installation Guide: Frequently Asked Questions (3)_PHP Tutorial

PHP Installation Guide: Frequently Asked Questions (3)_PHP Tutorial

WBOY
WBOYOriginal
2016-07-21 16:02:20855browse

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

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/316575.htmlTechArticle 6. Question: 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. Specifically...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn