summaryrefslogtreecommitdiff
path: root/maconomy/mailer.py
diff options
context:
space:
mode:
Diffstat (limited to 'maconomy/mailer.py')
-rw-r--r--maconomy/mailer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/maconomy/mailer.py b/maconomy/mailer.py
index ab443c0..4f4070f 100644
--- a/maconomy/mailer.py
+++ b/maconomy/mailer.py
@@ -7,8 +7,8 @@ class Mailer:
server_addr = config.get("mail", "server")
self.server = smtplib.SMTP(server_addr)
- def send(to, subject, body):
- msg = MIMEText(body,'plain')
+ def send(self, to, subject, body):
+ msg = MIMEText(body,'html')
msg['To']=to
msg['From']=self.me
msg['Subject'] = subject