Permalink
Browse files

fixed error with unicode message in sendmail (Bug#180549)

  • Loading branch information...
1 parent 74146b4 commit 4ab0b84ea8f53c06f92832a61fa1713b6aae2a42 @anandology anandology committed Jan 5, 2008
Showing with 1 addition and 0 deletions.
  1. +1 −0 web/utils.py
View
@@ -846,6 +846,7 @@ def listify(x):
recipients = [email.Utils.parseaddr(r)[1] for r in recipients]
message = ('\n'.join(['%s: %s' % x for x in headers.iteritems()])
+ "\n\n" + message)
+ message = utf8(message)
if webapi.config.get('smtp_server'):
server = webapi.config.get('smtp_server')

0 comments on commit 4ab0b84

Please sign in to comment.