Use a view for text content in a mailable
tpow opened this issue · 0 comments
tpow commented
Is your feature request related to a problem?
It is nice that mailables can build the html content of the email usingview()
but you cannot use a view (template) for text.
What do we currently have to do now?
No response
Describe the solution you'd like
It would be nice to add either a text_view()
method or add a parameter to view()
to indicate whether it is for html or text content. For the latter, adding is_html=True
would make this a non-breaking change.
Describe alternatives you've considered
No response
Would this be a breaking change ?
- Yes
Anything else ?
No response