diff --git a/osmhm/send_notification.py b/osmhm/send_notification.py index 7d4dc19..e32d9c6 100644 --- a/osmhm/send_notification.py +++ b/osmhm/send_notification.py @@ -2,6 +2,7 @@ import config def send_mail(to, subject, msg): + import os program = '/usr/sbin/sendmail' email = os.popen("%s -t" % program, "w") email.write("From: %s\n" % config.email_user)