summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b0b548)
raw | patch | inline | side by side (parent: 6b0b548)
author | schlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 15 Jul 2011 14:05:29 +0000 (14:05 +0000) | ||
committer | schlatterbeck <schlatterbeck@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 15 Jul 2011 14:05:29 +0000 (14:05 +0000) |
outgoing emails, thanks to Joseph Myers for the patch.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4635 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4635 57a73879-2fb5-44c3-a270-3262357dd7e2
CHANGES.txt | patch | blob | history | |
roundup/cgi/client.py | patch | blob | history |
diff --git a/CHANGES.txt b/CHANGES.txt
index a2d6f8c6a6328fb03eed49d199ba21ba4abdbf56..d2ff6953a67f6fc4455d2bb256d11da9836f7045 100644 (file)
--- a/CHANGES.txt
+++ b/CHANGES.txt
StringIO.StringIO for emulating a io.BytesIO also works.
Thanks to Cédric Krier for reporting. Closes issue2550713.
Added a regression test for EditCSVAction (Ralf)
+- Fix issue2550691 where a Unix From-Header was sometimes inserted in
+ outgoing emails, thanks to Joseph Myers for the patch. (Ralf)
2011-05-29 1.4.18 (r4610)
diff --git a/roundup/cgi/client.py b/roundup/cgi/client.py
index 3daeb8be6f832d3afcee8a686dcb1da48fe83824..ff4573abe175543943ffd07b6c4cf3ce6c6f8ffd 100644 (file)
--- a/roundup/cgi/client.py
+++ b/roundup/cgi/client.py
message['Content-type'] = 'text/html; charset=utf-8'
message.set_payload(content)
encode_quopri(message)
- self.mailer.smtp_send(to, str(message))
+ self.mailer.smtp_send(to, message.as_string())
def renderFrontPage(self, message):
"""Return the front page of the tracker."""