summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 79e9b94)
raw | patch | inline | side by side (parent: 79e9b94)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 1 Feb 2010 05:59:10 +0000 (05:59 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 1 Feb 2010 05:59:10 +0000 (05:59 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4445 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailer.py | patch | blob | history |
diff --git a/roundup/mailer.py b/roundup/mailer.py
index 58fc33b91edd509e2127cb550b5d5f17457ae420..d44568e5fb190751b7ebc99e7acdeebb17e1c501 100644 (file)
--- a/roundup/mailer.py
+++ b/roundup/mailer.py
if specialsre.search(encname):
encname = '"%s"'%escapesre.sub(r'\\\g<0>', encname)
- # now use Header again to wrap the line if necessary
+ # now format the header as a string - don't return a Header as anonymous
+ # headers play poorly with Messages (eg. won't get wrapped properly)
return '%s <%s>'%(encname, address)
class Mailer: