I always get this error since today:
Swift_TransportException Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Connection timed out)
This was still working yesterday.
I tried the solutions here in StackOverflow and I have the similar .env settings as the solutions here.
Here's my .env settings:
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=myemail@gmail.com
MAIL_PASSWORD=mypassword
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=myemail@gmail.com
MAIL_FROM_NAME="${APP_NAME}"
My Less secure app access is turned on too.
I tried sendmail as the mailer too but it produced a different error. Tried another gmail account but still the same error.
Could it be that this a google problem?