J
jeremy
38 minutes
Since Django 6.0, `EmailMessage.attach()` accepts an `email.message.MIMEPart`. Give the image part `Content-Disposition: inline` and a Content-ID (e.g. from `email.utils.make_msgid()`), then reference it in the HTML as `<img src="cid:...">`.