How to add a personalized greeting to emails?
Hi,
I want the reset email to have a personalized greeting. It currently only says "Hello!" but I want this to be "Hello {user.name}".
Most likely it is me thinking too difficult. I'm guessing it has to do something with app->bind() but i can't figure it out.
8 Replies
https://laraveldaily.com/post/laravel-breeze-user-name-auth-email-templates
maybe this will help
I have seen that one but it didn't work and I think that is because of the way Filament sends the notification.
They send it here:
vendor/filament/filament/src/Pages/Auth/PasswordReset/RequestPasswordReset.php
create your own class and use it instead of default one
Thank you for your message. While I'm unsure if this is the best approach for changing emails, it does seem to work for now. I'll leave this chat unresolved for a day, as there may be other options worth considering.
https://laraveldaily.com/post/filament-customize-auth-emails-reset-password-user-verification
This helped me!
@PovilasKorop thank's
Glad to help!
Now I'm trying to change the text of this part of the email, but I haven't been able to do it yet.