**Expected response code 250 but got code "530"with message "530 5.7.1 Authentication required "**
首先看一下.env配置

   MAIL_DRIVER=smtp
   MAIL_HOST=smtp.qq.com
   MAIL_PORT=465
   MAIL_USERNAME=xxxx@qq.com
   MAIL_PASSWORD=xxxx
   MAIL_ENCRYPTION=ssl
   MAIL_FROM_ADDRESS=xxxx@qq.com
   MAIL_FROM_NAME=xxx

**如果你和我的配置是一样的,依然报错,请清除config缓存。**

php artisan config:clear

关注友儿不迷路

Last modification:October 16th, 2020 at 09:48 am
如果觉得我的文章对你有用,请随意赞赏