changeset 61:b29594d7d381

revert mail Header() changes imported from: moin--main--1.5--patch-63
author Thomas Waldmann <tw@waldmann-edv.de>
date Fri, 30 Sep 2005 18:17:53 +0000
parents b0cd40a3d4ff
children 3de67d5c26b7
files MoinMoin/i18n/mail_i18n-maintainers.py MoinMoin/util/mail.py docs/CHANGES
diffstat 3 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/i18n/mail_i18n-maintainers.py	Fri Sep 30 18:08:19 2005 +0000
+++ b/MoinMoin/i18n/mail_i18n-maintainers.py	Fri Sep 30 18:17:53 2005 +0000
@@ -41,8 +41,8 @@
     
     # Create a text/plain message
     msg = MIMEText(text, 'plain', charset)
-    msg['From'] = Header(mfrom, charset)
-    msg['To'] = Header(', '.join(mto), charset)
+    msg['From'] = mfrom
+    msg['To'] = ', '.join(mto)
     msg['Subject'] = Header(subject, charset)
     msg['Date'] = formatdate()
     
--- a/MoinMoin/util/mail.py	Fri Sep 30 18:08:19 2005 +0000
+++ b/MoinMoin/util/mail.py	Fri Sep 30 18:17:53 2005 +0000
@@ -54,7 +54,6 @@
     # Create message headers
     # Don't expose emails addreses of the other subscribers, instead we
     # use the same mail_from, e.g. "My Wiki <noreply@mywiki.org>"
-    mail_from = Header(mail_from, charset)
     msg['From'] = mail_from
     msg['To'] = mail_from
     msg['Date'] = formatdate()
--- a/docs/CHANGES	Fri Sep 30 18:08:19 2005 +0000
+++ b/docs/CHANGES	Fri Sep 30 18:17:53 2005 +0000
@@ -225,8 +225,6 @@
       dynamically. The fix is not backward compatible with older plugins.
     * Fix chart action, returns a page with error message when chart
       can not be created.
-    * use Header() to enable correct processing of non-ASCII From: and To: in
-      generated emails
     
     
 Version 1.4: