[Mailman-Developers] MimeDel i18n message undelivered

Tokio Kikuchi tkikuchi@is.kochi-u.ac.jp
Sun, 13 Oct 2002 15:05:02 +0900


Hi,

While testing MimeDel with i18n Japanese configuration, message
delivery error occured when forwarding the filetered message to
the list administrator. Here is a quick patch:

--- /home/mailman/src/mailman/Mailman/Deliverer.py      Tue Oct  8 08:35:18 2002
+++ Deliverer.py        Sun Oct 13 14:18:06 2002
@@ -132,7 +132,7 @@
                         _charset=Utils.GetCharSet(self.preferred_language))
         attachment = MIMEMessage(msg)
         notice = Message.UserNotification(
-            recips, self.GetBouncesEmail(), subject)
+            recips, self.GetBouncesEmail(), subject, lang=self.preferred_language)
         notice.set_type('multipart/mixed')
         notice.attach(text)
         notice.attach(attachment)

Cheers,

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/