In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the configuration method of using php sendmail under Windows". In the daily operation, I believe that many people have doubts about the configuration method of using php sendmail under Windows. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "configuration method of using php sendmail under Windows". Next, please follow the editor to study!
Everyone is very curious about why the forum registration of other large companies will automatically send an email of registration information to the registrant's mailbox, while they also use a kernel forum program, why they do not have this function. Today I'm going to decrypt this reason for you. Let's take PHPBB as an example. This forum kernel has already written the forum mail sending function. All you need is a local SMTP forwarding service. Because most of the servers of large companies use UNIX or LIUNX, because these servers themselves have the function of local SMTP service, you can send registration information directly to the registrant's mailbox, while most of our personal websites are WINDOWS platforms. Because the ASP forum is very insecure, and the ASPX forum is difficult to open source.
Although these two kinds of forum architectures are very easy to use some IIS-related SMTP servers to solve problems, they are congenitally deficient. Many netizens like to build forums with PHP kernel, such as PHPBB, PHPWIND, and so on, which all have forum messaging functions, but because PHP is a congenital favorite of LIUNX, there are not many things that support SMTP under WINDOWS, whether it is impossible to use php sendmail configuration method under Windows, but it is not a dead end. Now I will tell you how to solve the php sendmail configuration problem under the WINDOWS platform.
1. Modify the x:\ xampp\ sendmail\ sendmail.ini file to modify the following data:
Smtp_server=mail.vhost.tw
Auth_username=sendmail@vhost.tw
Auth_password=Xca1Bq
two。 Modify the x:\ xampp\ apache\ bin\ php.ini file to modify the following data:
[mail function]
; For Win32 only.
; smtp_port = 25
; For Win32 only.
; sendmail_from =
; For Unix only. You may supply arguments as well (default: "sendmail-t-I").
Sendmail_path = "E:\ xampp\ sendmail\ sendmail.exe-t"
3. Restart Apache and set it up!
4. Test the mail () function
In this way, the configuration of using php sendmail under Windows will be completed successfully!
At this point, the study of "the configuration method of using php sendmail under Windows" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.