Have callback for email creation in generic views sending emails
|Reported by:||zigarn||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I'd like to use EmailMultiAlternatives mails for my mails to have multipart with text & HTML (for nice looking mails but with simple text support).
But with generic views (and forms) like django.contrib.auth.views.password_reset, I can only give an email_template_name.
It would be nice to have a create_email callback to let me create the Email object that the view send.
Change History (4)
comment:1 Changed 5 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:3 Changed 4 years ago by thejaswi_puthraya
- Component changed from Uncategorized to Generic views
- Easy pickings unset
- UI/UX unset