from email import charset
from email.mime.text import MIMEText
charset.add_charset('utf-8', charset.SHORTEST, charset.QP, 'utf-8')
mt = MIMEText(u'\u00e4', 'plain', 'utf-8')
print bytes(mt) # Last line should read "=C3=A4, but returns =E4 on Python 2.6.5"
This makes marrow.mailer unusable on affected Python versions, but TurboMail did not have issues there.
This makes marrow.mailer unusable on affected Python versions, but TurboMail did not have issues there.