Laravel配置QQ邮箱发送Email提示:Connection to smtp.qq.com:465 Timed Out,错误截图如下:
![](https://www.02405.com/wp-content/uploads/2023/03/1-201022131605196.webp)
QQ邮箱有两个端口,分别为25和465,其中普通发信使用25,采用https加密发信使用465,因此解决方案有两个:
1.将端口改为25
2.设置加密方式为ssl。
Laravel配置QQ邮箱发送Email提示:Connection to smtp.qq.com:465 Timed Out,错误截图如下:
QQ邮箱有两个端口,分别为25和465,其中普通发信使用25,采用https加密发信使用465,因此解决方案有两个:
1.将端口改为25
2.设置加密方式为ssl。