Swiftmailer: Connection could not be established with host smtp.gmail.com [Connection timed out #110]

后端 未结 8 1417
执念已碎
执念已碎 2020-12-05 03:27

I\'m posting because I\'ve already gone through the solutions posted in other questions on here but they haven\'t helped.

What I am trying to do is send email using

8条回答
  •  感情败类
    2020-12-05 03:41

    For me the issue was i that I used tls encryption,here are the ports for TLS and SSL. Don`t forget to reboot after changing the env file.

    smtp.gmail.com    ---    SSL       ---      465
    smtp.gmail.com    ---   StartTLS ---   587
    

    Also,you need to change the security of your google account

提交回复
热议问题