A
A
Al Capone2020-09-27 20:04:54
gmail
Al Capone, 2020-09-27 20:04:54

How to set up sending mail (smtp google) on laravel?

it is necessary that an authorization letter be sent, but it gives the following error:
the settings in .env are as follows:
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=my_password
MAIL_ENCRYPTION=tls
[email protected]
5f70c6036a580004208162.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Al Capone, 2020-09-27
@anonim89

resolved the issue. you need to do this in your google account in the security section5f70ca01b0288575910564.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question