无法与主机smtp.gmail.com建立连接[连接拒绝#111]

时间:2018-05-25 12:48:23

标签: laravel-5.6

MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=sample@gmail.com MAIL_PASSWORD=passowrd MAIL_ENCRYPTION=tls

它在本地工作正常,但在服务器上它不工作,并给我这个错误:

Connection could not be established with host smtp.gmail.com [Connection refused #111]

0 个答案:

没有答案