Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a view for text content in a mailable #750

Open
1 task
tpow opened this issue Mar 29, 2023 · 0 comments
Open
1 task

Use a view for text content in a mailable #750

tpow opened this issue Mar 29, 2023 · 0 comments

Comments

@tpow
Copy link
Contributor

tpow commented Mar 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant