标签:env smtp 授权 add drive mil exchange car http
在.env文件中设置如下
MAIL_DRIVER=smtp
MAIL_HOST=smtp.qq.com
MAIL_PORT=465
MAIL_USERNAME=00000000000@qq.com
MAIL_PASSWORD=填写授权码(在QQ邮箱设置-账户-POP3/IMAP/SMTP/Exchange/CardDAV/CalDAV服务-生成授权码)
MAIL_ENCRYPTION=ssl
在config/mail.php文件中设置如下
‘from‘ => [‘address‘ => ‘00000000000@qq.com‘, ‘name‘ => ‘Laravel5‘],
原文:https://blog.csdn.net/vichild/article/details/52486869
标签:env smtp 授权 add drive mil exchange car http
原文地址:https://www.cnblogs.com/sgm4231/p/10248032.html