diff roundup/mailer.py @ 3517:5603e08ac6fc maint-0.8

merge from HEAD
author Richard Jones <richard@users.sourceforge.net>
date Fri, 27 Jan 2006 02:42:05 +0000
parents 8fcee705ebdb
children
line wrap: on
line diff
--- a/roundup/mailer.py	Wed Jan 25 03:24:09 2006 +0000
+++ b/roundup/mailer.py	Fri Jan 27 02:42:05 2006 +0000
@@ -1,7 +1,7 @@
 """Sending Roundup-specific mail over SMTP.
 """
 __docformat__ = 'restructuredtext'
-# $Id: mailer.py,v 1.10.2.1 2006-01-13 03:34:34 richard Exp $
+# $Id: mailer.py,v 1.10.2.2 2006-01-27 02:42:05 richard Exp $
 
 import time, quopri, os, socket, smtplib, re
 
@@ -120,7 +120,7 @@
         part = writer.nextpart()
         part.addheader('Content-Transfer-Encoding', 'quoted-printable')
         body = part.startbody('text/plain; charset=utf-8')
-        body.write('\n'.join(error))
+        body.write(quopri.encodestring ('\n'.join(error)))
 
         # attach the original message to the returned message
         part = writer.nextpart()

Roundup Issue Tracker: http://roundup-tracker.org/