summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a8a30e6)
raw | patch | inline | side by side (parent: a8a30e6)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 10 Aug 2009 03:33:28 +0000 (03:33 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 10 Aug 2009 03:33:28 +0000 (03:33 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4341 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailer.py | patch | blob | history |
diff --git a/roundup/mailer.py b/roundup/mailer.py
index f0981aa37a6653ee03707386765ffaab92c70b58..171ec1133c8ebc12fc5a7a8bb5f99da64433241d 100644 (file)
--- a/roundup/mailer.py
+++ b/roundup/mailer.py
if multipart:
message = MIMEMultipart()
else:
- message = Message()
- message.set_type('text/plain')
+ message = MIMEText("")
message.set_charset(charset)
try:
# 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):