Home > PHP Framework > Laravel > body text

About the solution to configure QQ to send emails in Laravel5.1

藏色散人
Release: 2020-03-24 09:00:36
forward
3497 people have browsed it

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**
Copy after login

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

About the solution to configure QQ to send emails in Laravel5.1

2. Modify the .env file to configure the mail information in Laravel

About the solution to configure QQ to send emails in Laravel5.1

3. Configure the email sender name and address in /config/mail.php

About the solution to configure QQ to send emails in Laravel5.1

4. Then try to click Password Reset

About the solution to configure QQ to send emails in Laravel5.1

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!

Related labels:
source:segmentfault.com
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!