Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Kalakeli's avatar

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'

...

0 likes
4 replies
martinbean's avatar

@kalakeli This is clearly an email delivery issue and not a code issue. Contact your host.

Kalakeli's avatar

@martinbean Thanks for the answer. I am using the same mail settings I used before, so it can't be that. I also used my own credentials and it also didn't work. What I was looking for was where and how the email is set up and sent. As this is a rather small project with roundabout 200 previously registered users, I now wrote my own password reset and I am leaving out the reset mail.

martinbean's avatar

Thanks for the answer. I am using the same mail settings I used before, so it can't be that.

@Kalakeli Well it’s not a code issue, otherwise you would get a 500 error.

Your code is working fine (you get a status message saying the email was sent) but the email isn’t actually sent, then it’s an email deliverability issue and you need to speak to your host, regardless of what settings you’re using and if they allegedly work elsewhere. Your host will be able to see any send attempts, and tell you of the reason they’ve not been delivered.

Please or to participate in this conversation.