You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite my best efforts, I cannot get emails rendered with mjml in Laravel 9. If you use the mjml property on the various classes, what L9 does is default to markdown (as the view property isn't set).
This package I think needs a fresh approach for L9 (not sure about earlier versions), effectively deferring to the view renderer to manage the requirements (and just let mail messages set the view as something like email.mjml).
Even though the engine does register the extension, it still doesn't seem to parse the mjml file - in fact, the view engine complains that no support for such engines exist.
I'm gonna give it one more go using mailables, but I find it unlikely it will work (as it uses as a similar system in Laravel).
I Honestly think all this package needs to do, is set a new view rendering engine based on mjml extension and that's it - then all developers need to do is simply do:
$mail->view('myemail.mjml', $data) and you're done :)
The text was updated successfully, but these errors were encountered:
Despite my best efforts, I cannot get emails rendered with mjml in Laravel 9. If you use the mjml property on the various classes, what L9 does is default to markdown (as the view property isn't set).
This package I think needs a fresh approach for L9 (not sure about earlier versions), effectively deferring to the view renderer to manage the requirements (and just let mail messages set the view as something like email.mjml).
Even though the engine does register the extension, it still doesn't seem to parse the mjml file - in fact, the view engine complains that no support for such engines exist.
I'm gonna give it one more go using mailables, but I find it unlikely it will work (as it uses as a similar system in Laravel).
I Honestly think all this package needs to do, is set a new view rendering engine based on mjml extension and that's it - then all developers need to do is simply do:
$mail->view('myemail.mjml', $data) and you're done :)
The text was updated successfully, but these errors were encountered: