本地 报 无法与主机 smtp.sina.com 建立连接 错
具体的报错信息如下
Connection could not be established with host smtp.sina.com [Unable to find the socket transport "weiboapp" - did you forget to enable it when you configured PHP? #32607]
vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:269
邮箱配置如下
MAIL_DRIVER=smtp
MAIL_HOST=smtp.sina.com
MAIL_PORT=465
MAIL_USERNAME=songhe156@sina.com
MAIL_PASSWORD=**********
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=songhe156@sina.com
MAIL_ENCRYPTION=WeiboApp
之前也试过qq的,但是都报这个错误
上面的密码是在邮箱生成的授权码
请问该如何解决这个问题? 非常感谢
推荐文章: