Home  >  Article  >  Backend Development  >  phpstudy uses the built-in sendmail extension to send emails

phpstudy uses the built-in sendmail extension to send emails

WBOY
WBOYOriginal
2016-08-08 09:27:234679browse

1. First, you need to install phpstudy and open the built-in extension

2.phpstudy’s appache will automatically restart and php.ini will be automatically modified, as shown below


3. Find the sendmail_path in the picture above folder, open send_mail.ini, and modify the following configurations. Here, take qq mailbox as an example


4. Then you can use @mail to send emails in the program. Specific parameter usage Please Baidu

The above introduces how phpstudy uses the built-in sendmail extension to send emails, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

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