Skip to content

Commit 4c49043

Browse files
author
Ralf Schlatterbeck
committed
Fix issue2550691 where a Unix From-Header was sometimes inserted...
...in outgoing emails, thanks to Joseph Myers for the patch.
1 parent 4d68379 commit 4c49043

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Fixed:
4646
StringIO.StringIO for emulating a io.BytesIO also works.
4747
Thanks to C�dric Krier for reporting. Closes issue2550713.
4848
Added a regression test for EditCSVAction (Ralf)
49+
- Fix issue2550691 where a Unix From-Header was sometimes inserted in
50+
outgoing emails, thanks to Joseph Myers for the patch. (Ralf)
4951

5052

5153
2011-05-29 1.4.18 (r4610)

roundup/cgi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ def send_html_to_admin(self, subject, content):
10241024
message['Content-type'] = 'text/html; charset=utf-8'
10251025
message.set_payload(content)
10261026
encode_quopri(message)
1027-
self.mailer.smtp_send(to, str(message))
1027+
self.mailer.smtp_send(to, message.as_string())
10281028

10291029
def renderFrontPage(self, message):
10301030
"""Return the front page of the tracker."""

0 commit comments

Comments
 (0)