# HG changeset patch # User Thomas Waldmann # Date 1128104273 0 # Node ID b29594d7d38187dacea9a6425f4fed1cba9b1781 # Parent b0cd40a3d4ff13e6edf1a4df7fae18ab227e1752 revert mail Header() changes imported from: moin--main--1.5--patch-63 diff -r b0cd40a3d4ff -r b29594d7d381 MoinMoin/i18n/mail_i18n-maintainers.py --- 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() diff -r b0cd40a3d4ff -r b29594d7d381 MoinMoin/util/mail.py --- 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 " - mail_from = Header(mail_from, charset) msg['From'] = mail_from msg['To'] = mail_from msg['Date'] = formatdate() diff -r b0cd40a3d4ff -r b29594d7d381 docs/CHANGES --- 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: