brack3t / Djrill

[INACTIVE/UNMAINTAINED] Djrill is an email backend and new message class for Django users that want to take advantage of the Mandrill transactional email service from MailChimp.
BSD 3-Clause "New" or "Revised" License
319 stars 64 forks source link

Document how to display inline images in multipart/html #86

Closed andybak closed 8 years ago

andybak commented 9 years ago

Is it as simple as having markup such as:

<img src="cid:img1.png">
andybak commented 9 years ago

(PS - I'm aware I could just try it myself but I added this issue more as a reminder as I won't be back working on this for a week or so)

medmunds commented 9 years ago

I think it's some combination of using the cid in your html part as you've shown, and then making sure your image attachment gets that same cid. (But definitely outside my area of expertise.)

A few comments:

medmunds commented 8 years ago

The successor to Djrill, Anymail, has first-class support for inline images, including documentation