From 04905ba6d973a57c9d37bb75ee376c896a47ac5d Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Sat, 30 Apr 2022 10:34:53 -0700 Subject: Migrate to python3 --- emailcanary/email-digest-sender.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emailcanary/email-digest-sender.py') diff --git a/emailcanary/email-digest-sender.py b/emailcanary/email-digest-sender.py index a7ff79f..fa4fcb0 100644 --- a/emailcanary/email-digest-sender.py +++ b/emailcanary/email-digest-sender.py @@ -1,6 +1,6 @@ -import emailutils import smtplib from email import message +from . import emailutils PASSWORD="secret" ACCOUNTS = [('mail.example.com', 'email@example.com', PASSWORD)] @@ -35,4 +35,4 @@ if youve_got_mail: s = smtplib.SMTP_SSL('localhost', 2465) s.sendmail(DESTINATION, DESTINATION, digest_message.as_string()) - s.quit() \ No newline at end of file + s.quit() -- cgit v1.2.3