# Proposal: simplify sending/testing html in EmailMessage

**URL:** <https://forum.djangoproject.com/t/proposal-simplify-sending-testing-html-in-emailmessage/32844>\
**Category:** Django Internals\
**Created:** [July 10, 2024, 12:36am UTC](https://forum.djangoproject.com/t/proposal-simplify-sending-testing-html-in-emailmessage/32844 "2024-07-10T00:36:26Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![medmunds](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/medmunds/32/22140_2.png) [@medmunds](https://forum.djangoproject.com/u/medmunds)\
**Post date:** [July 10, 2024, 6:00pm UTC](https://forum.djangoproject.com/t/proposal-simplify-sending-testing-html-in-emailmessage/32844/3 "2024-07-10T18:00:50Z")

</div>

I think we agree that Django’s EmailMessage makes working with html + text email more complicated than it needs to be. (And more complex than it is in many other frameworks/APIs.) And this matters because html + text has become a common—perhaps _the most common_—use case.

This proposal tries to target that specific issue by moving some of the boilerplate complexity Django currently imposes on all EmailMessage users into the EmailMessage implementation. I’ve deliberately kept the scope narrow.

Your thread on [class-based email](https://forum.djangoproject.com/t/new-take-on-old-ticket-send-templated-email/32692) seems like a much larger scope, with broad goals that also include generating email from templates. I suspect it will take a longer discussion to reach consensus on that.

The two approaches are not at all mutually exclusive. But they are separate ideas, so I think it would be helpful to keep the threads separate.

---

_[View the full topic](https://forum.djangoproject.com/t/proposal-simplify-sending-testing-html-in-emailmessage/32844)._
