projects
/
max
/
email_syndication.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a421b07
)
Close Mbox and logout of server before quitting
master
author
Maximilian Friedersdorff
<max@friedersdorff.com>
Mon, 17 Sep 2018 07:17:42 +0000
(08:17 +0100)
committer
Maximilian Friedersdorff
<max@friedersdorff.com>
Mon, 17 Sep 2018 07:17:42 +0000
(08:17 +0100)
syndicate.py
patch
|
blob
|
history
diff --git
a/syndicate.py
b/syndicate.py
index b98efa345378d746d4e9adf7c89e6974273979a1..4e0b9ff7965e7fe5ae509db94063277d4fe3aef7 100644
(file)
--- a/
syndicate.py
+++ b/
syndicate.py
@@
-82,3
+82,6
@@
summary['To'] = 'maf54@aber.ac.uk'
s = smtplib.SMTP('smtphost.aber.ac.uk')
s.sendmail('maf54@aber.ac.uk', 'maf54@aber.ac.uk', summary.as_string())
s.quit()
+
+M.close()
+M.logout()