Commits

Alexander Schremmer committed 24aa609

Allow non ascii characters in the mail.

Comments (0)

Files changed (1)

     msg_alternative = MIMEMultipart('alternative')
     msg_root.attach(msg_alternative)
     msg_alternative.attach(MIMEText('You need an HTML compliant MUA to read this mail.'))
-    msg_alternative.attach(MIMEText(body_html, 'html'))
+    msg_alternative.attach(MIMEText(body_html, 'html', "utf-8"))
     
     for att in attachments:
         mime_att = MIMEText(att.blob, att.subtype)