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

devlanga's avatar

Send custom email on reset password

Hello

Can anyone explain how can we send custom email (as we have email template section) in case of reset password

0 likes
2 replies
mikefolsom's avatar

Per the docs:

You may easily modify the notification class used to send the password reset link to the user. To get started, override the sendPasswordResetNotification method on your User model. Within this method, you may send the notification using any notification class you choose. The password reset $token is the first argument received by the method:

This method is defined in Illuminate\Auth\Passwords\CanResetPassword.

So you can use the token as a variable, pass it to your custom view and send via mailable, etc.

1 like

Please or to participate in this conversation.