[Modify] I tested it myself and removed the virtual sub-directory from the Wampwww directory. For example, I created a new directory on another disk to store sub-directories. This seems to solve the problem, but I still don't know why. Environment:
[Revised 2013-11-03]I tested it myself, moving the virtual subdirectory out of the Wamp\www directory, such as creating a new directory on another disk to store subdirectories, which seems to solve the problem, but still don't know why.
Environment:
Wamp Environment1, W:windows2, A:apache3, M:mysql4, p:phpWNMP Environment1, W:windows2, A:apache3, N Nginx4, p:phpWhat's the difference between Wamp and WNMP?Server is different, one is Nginxweb server, the other is Apacheweb serverTo learn PHP
Mail () sendmail QQ Mail
Development environment with the WAMP, download and install the SendMail program, according to the online statement also changed the php.ini and Sendmail.ini
Use Foxmail 7.1 to create their own QQ mailbox account,
Mail () in PHP is always unsuccessful. Mail () sendmail QQ mailbox
Wamp used in the development environment, download and install the sendmail program, and change php. ini and sendmail. ini according to the Internet.
Foxmail 7.1 is used to
The first step:Open URL https://github.com/PHPMailer/PHPMailer/download Phpmailer,phpmailer need PHP sockets extension support, and login QQ mailbox SMTP server must be encrypted by SSL, P HP also has to include OpenSSL support.Step two: Use the
Wamp Configuration of the development environment Apache Virtual host, Wampapache
site Developers in the local testing, often not a site, how can you enter the same domain name in the address bar above the "domain name" can be local access to the
Cases of successful PHP test email sending, and cases of php mail sending. PHP tests successful mail sending cases. The mail () function of php mail sending case is used to connect to the mail server and use the smtp protocol to interact with the
The Mail function under Windows system needs to be configured
1. Download from http://glob.com.au/sendmail/Sendmail.zip2. Extract to C: Under, such as C:\php\sendmail, the best short path, long path name may cause problems.3. Modify PHP.ini as
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.