MAIL_DRIVER=smtp MAIL_HOST=smtp.163.com MAIL_PORT=465 MAIL_USERNAME=phpfangzhan@@@@@163.com MAIL_PASSWORD=******** MAIL_ENCRYPTION=ssl MAIL_FROM_ADDRESS=phpfangzhan@@@@@@163.com MAIL_FROM_NAME=PHP仿站
错误提示:
Expected response code 250 but got code "553", with message "553 Mail from must equal authorized use
解决办法:
最后两项是需要增加的
MAIL_FROM_ADDRESS=phpfangzhan@@@@@@163.com
MAIL_FROM_NAME=PHP仿站