novapost/django-mail-factory — pull request #48 by hannesstruss (2014-03-18 16:01:15+00:00)
Title: Work around UnicodeEncodeError when attaching unicode HTML content

See this ticket: https://code.djangoproject.com/ticket/20230

Only occurs on Python < 2.6.6. Since the ticket is marked as wontfix
in Django, it makes sense to fix it here.