I am trying to send an email in Laravel, which works perfectly locally but in production it is impossible for me, I get a million errors. This is the problem I am getting now:
Does anyone know what it means?
This is the ENV:
MAIL_MAILER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=************
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="Merluza de Pincho"
Try these troubleshooting steps
.env
runphp artisan config:clear
Source:
https://support.google.com/mail/answer/7126229?visit_id=636865986363810933-1186759849&rd=2#cantsignin
https://stackoverflow.com/a/44927470/8451749
It works: --If you modify the .env execute
Or via Putty: