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]