📜  无法与主机 smtp.gmail.com 建立连接:stream_socket_client():无法连接到 tcp:smtp.gmail.com:587(网络无法访问) - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:15.551000             🧑  作者: Mango

代码示例2
use port 25 and mail encryption is empty like

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=25
MAIL_USERNAME=XXXXXddda513d4
MAIL_PASSWORD=da084XXXXXXbbe
MAIL_ENCRYPTION=