diff options
| author | Jesse Morgan <jesse@jesterpm.net> | 2022-04-30 10:34:53 -0700 |
|---|---|---|
| committer | Jesse Morgan <jesse@jesterpm.net> | 2022-04-30 10:34:53 -0700 |
| commit | 04905ba6d973a57c9d37bb75ee376c896a47ac5d (patch) | |
| tree | cb56c09e7c055c9656c6ea3d25f5ea8eb147072a /emailcanary/email-digest-sender.py | |
| parent | e88bebbf326baabb26dff0b5a69cae3b91e925bd (diff) | |
Migrate to python3
Diffstat (limited to 'emailcanary/email-digest-sender.py')
| -rw-r--r-- | emailcanary/email-digest-sender.py | 4 |
1 files changed, 2 insertions, 2 deletions
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() |
