summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35b5255)
raw | patch | inline | side by side (parent: 35b5255)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 20 Jul 2009 06:24:52 +0000 (06:24 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 20 Jul 2009 06:24:52 +0000 (06:24 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4329 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/roundupdb.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index 1b374185320fc7c697a2e8f334c589b72042c383..d0b84569b12a93ff772c3531fa6baf629599423c 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
see http://thread.gmane.org/gmane.comp.bug-tracking.roundup.user/9500
- fix problem with bounce-message if incoming mail has insufficient
privilege, e.g., user not existing (issue 2550534)
+- fix construction of individual messages to nosy recipents with
+ attachments (issue 2550568)
2009-03-18 1.4.8 (r4209)
diff --git a/roundup/roundupdb.py b/roundup/roundupdb.py
index 1a9f705e58871910e9e85087d1e320523cbde9de..998b29051912d85425cde44b47bf019abbf7ed12 100644 (file)
--- a/roundup/roundupdb.py
+++ b/roundup/roundupdb.py
charset = getattr(self.db.config, 'EMAIL_CHARSET', 'utf-8')
# construct the content and convert to unicode object
- content = unicode('\n'.join(m), 'utf-8').encode(charset)
+ body = unicode('\n'.join(m), 'utf-8').encode(charset)
# make sure the To line is always the same (for testing mostly)
sendto.sort()
# attach files
if message_files:
# first up the text as a part
- part = MIMEText(content)
+ part = MIMEText(body)
encode_quopri(part)
message.attach(part)
message.attach(part)
else:
- message.set_payload(content)
+ message.set_payload(body)
encode_quopri(message)
if first: