use quotedprintable to allow lines wrap.
authormadcoder <madcoder>
Sun, 7 May 2006 21:00:11 +0000 (21:00 +0000)
committermadcoder <madcoder>
Sun, 7 May 2006 21:00:11 +0000 (21:00 +0000)
bts/mailer.py

index 8471bd4a3f2ff826076358ce6828c2aa0b5a67e9..7a774d56c35e4c15f7a59ec83255f203e7929694 100644 (file)
@@ -42,7 +42,7 @@ class BtsMailer:
 
     def BtsMail(self, body):
         msg = MIMEText(body)
-        msg['Content-Transfer-Encoding'] = '8bit'
+        msg['Content-Transfer-Encoding'] = 'quoted-printable'
         msg['Content-Type'] = 'text/plain; charset="utf-8"'
         ## actual value is not used, http://www.debian.org/Bugs/Reporting
         # msg['X-Debbugs-No-Ack'] = 'no-acks'