diff options
| author | bwarsaw | 2002-08-16 14:41:22 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-08-16 14:41:22 +0000 |
| commit | 8c36feb1953c5de153cc3bc849dee77ad3fcd0cc (patch) | |
| tree | 68f172df2bab086ce70f319a2851fdd4b2f24658 | |
| parent | 7910552ae9a76440283c7a69ae625afabb2999c4 (diff) | |
| download | mailman-8c36feb1953c5de153cc3bc849dee77ad3fcd0cc.tar.gz mailman-8c36feb1953c5de153cc3bc849dee77ad3fcd0cc.tar.zst mailman-8c36feb1953c5de153cc3bc849dee77ad3fcd0cc.zip | |
| -rw-r--r-- | Mailman/Bouncer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mailman/Bouncer.py b/Mailman/Bouncer.py index 5e057059e..b9a588f61 100644 --- a/Mailman/Bouncer.py +++ b/Mailman/Bouncer.py @@ -188,7 +188,8 @@ class Bouncer: # BAW: Be sure you set the type before trying to attach, or you'll get # a MultipartConversionError. umsg.set_type('multipart/mixed') - umsg.attach(MIMEText(text)) + umsg.attach( + MIMEText(text, _charset=Utils.GetCharSet(self.preferred_language)) if isinstance(msg, StringType): umsg.attach(MIMEText(msg)) else: |
