A
A
ANAPA-x2020-11-22 09:03:36
Laravel
ANAPA-x, 2020-11-22 09:03:36

Laravel 8 how to set up password reset on REAL email?

I use a ready-made password reset form using the auth method, I figured out how to test a password reset via mailtrap, everything works, everything is fine, but I don’t know how to set it up so that the password is reset to a real email, and preferably to any, for example:
[email protected]
User123 @gmail.com
Well, and similar mail services.
I watched a billion videos, and did not find what needs to be done so that the password is reset to real mail, NOT for a test, without inserting certain settings, for a specific user in the .env file

MAIL_MAILER=smtp
MAIL_HOST=
MAIL_PORT=
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="${APP_NAME}"

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question