@kalakeli This is clearly an email delivery issue and not a code issue. Contact your host.
Laravel 11 + Vue 3 (without Inertia) - Password Reset Mail not sent
Hi there ...
I am at a loss. I set up a project using Laravel 11, Vue 3, vue-router, Pinia, etc. - without Inertia. I set it all up and built my own authentication using a combination of Laravel Fortify & Sanctum. Then I set up my routes according to the way I was used to and to the Laravel 11 docs ...#password-reset-link-handling-the-form-submission
The login route works fine. I want to have a route to send the password reset email and one to reset the password and they do not work and I simply do not understand why. When I run it and look into the developer tools, I can see that the user is checked against the database. So, if the user is not there, I get a flash message saying that the user does not exist. Cool. When I enter a correct e-mail, it finds the user and sends a status back that the e-mail was sent and I get the flash message. But I never get the email. I have used the mail credentials in other projects - before Laravel 10 - and it worked just fine. But this time .. nothing. The status says "password.sent" but I do not receive the email.
Does anyone have an idea where I might also look? Where is the actual message composed? Maybe it just doesn't exist but I cannot find it - sorry, I thought I was past the newbie state but apparently not. Maybe I am missing something obvious. I also set up another test environment using Laravel Breeze & Inertia and the mail is also not sent so I was wondering whether it is a recent bug or I am doing something wrong, but, as I said, I am using the same mail credentials elsewhere and it works. This is my .env with the parts where I actually changed something
...
APP_LOCALE=de
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US
...
DB_CONNECTION=mysql
DB_HOST=website-db.vpn
DB_PORT=3306
DB_DATABASE=XXX_MY_DB
DB_USERNAME=root
DB_PASSWORD=XXX_MY_PWD
...
MAIL_DRIVER=smtp
MAIL_HOST=mc.dda-web.de
MAIL_PORT=587
[email protected]
MAIL_PASSWORD=XXX_MY_PWD
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME='DDA No-Reply'
...
Please or to participate in this conversation.