From 67fcad1078b4045da06698528dab2bdf97fe32b8 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 10 Aug 2009 03:33:28 +0000 Subject: [PATCH] better construction of plain text git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4341 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/mailer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/roundup/mailer.py b/roundup/mailer.py index f0981aa..171ec11 100644 --- a/roundup/mailer.py +++ b/roundup/mailer.py @@ -69,8 +69,7 @@ class Mailer: if multipart: message = MIMEMultipart() else: - message = Message() - message.set_type('text/plain') + message = MIMEText("") message.set_charset(charset) try: @@ -98,8 +97,6 @@ class Mailer: # finally, an aid to debugging problems message['X-Roundup-Version'] = __version__ - message['MIME-Version'] = '1.0' - return message def standard_message(self, to, subject, content, author=None): -- 2.30.2