Mailable template $message not available?
Hello,
I have published the Laravel mail templates, and added in my header:
$message->embedData(…)
This works fine for my own emails, but not for the Filament based emails (in my example the password reset).
Nothing is injected manually, Laravel docs state this is automatically made available.
’m guessing I won’t be the first the run into this?
Many thanks in advance for your help!
Chris
Solution:Jump to solution
Ok, so the « problem » actually comes from Laravel.
The password reset uses a Notification, not a Mailable.
And the $message variable is not available in a Notification the same way.
That explains!...
1 Reply
Solution
Ok, so the « problem » actually comes from Laravel.
The password reset uses a Notification, not a Mailable.
And the $message variable is not available in a Notification the same way.
That explains!
Chris