]> git.friedersdorff.com Git - max/email_syndication.git/commitdiff
Close Mbox and logout of server before quitting master
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 17 Sep 2018 07:17:42 +0000 (08:17 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 17 Sep 2018 07:17:42 +0000 (08:17 +0100)
syndicate.py

index b98efa345378d746d4e9adf7c89e6974273979a1..4e0b9ff7965e7fe5ae509db94063277d4fe3aef7 100644 (file)
@@ -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()