Home > Article > PHP Framework > About the solution to configure QQ to send emails in Laravel5.1
When using the Auth:ResetsPasswords function of Laravel5 to retrieve the password, the error is as follows:
Failed to authenticate on SMTP server with username XXX@qq.com using 1 possible authenticators**
Later I found out that it was due to configuration, because I am using QQ mailbox, and I need to configure and enable smtp settings in QQ mailbox
Recommended: laravel tutorial
1. Open the POP3/SMTP service in [Settings]->[Account] in QQ mailbox
2. Modify the .env file to configure the mail information in Laravel
3. Configure the email sender name and address in /config/mail.php
4. Then try to click Password Reset
OK
The above is the detailed content of About the solution to configure QQ to send emails in Laravel5.1. For more information, please follow other related articles on the PHP Chinese website!