diff options
author | Markus Krogh <markus@nordu.net> | 2016-03-14 09:57:28 +0000 |
---|---|---|
committer | Markus Krogh <markus@nordu.net> | 2016-03-14 09:57:28 +0000 |
commit | c9d7afac4f1396b6e632277b39fea816b974131e (patch) | |
tree | 0b98d9c4869a9f100503783e0a784ada04c3ed8a /maconomy/mailer.py | |
parent | 0c2bdfb49bbc43ec45f298a58c6e4c28d4fd25e6 (diff) |
Support ISO-8859-1 and utf8v1.0
Diffstat (limited to 'maconomy/mailer.py')
-rw-r--r-- | maconomy/mailer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maconomy/mailer.py b/maconomy/mailer.py index 4f4070f..28a2d53 100644 --- a/maconomy/mailer.py +++ b/maconomy/mailer.py @@ -8,7 +8,7 @@ class Mailer: self.server = smtplib.SMTP(server_addr) def send(self, to, subject, body): - msg = MIMEText(body,'html') + msg = MIMEText(body,'html', _charset='utf8') msg['To']=to msg['From']=self.me msg['Subject'] = subject |