summaryrefslogtreecommitdiff
path: root/maconomy/mailer.py
diff options
context:
space:
mode:
Diffstat (limited to 'maconomy/mailer.py')
-rw-r--r--maconomy/mailer.py2
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