summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-alternative.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/email-alternative.py')
-rw-r--r--Doc/includes/email-alternative.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-alternative.py b/Doc/includes/email-alternative.py
index d941323..82e3ffa 100644
--- a/Doc/includes/email-alternative.py
+++ b/Doc/includes/email-alternative.py
@@ -45,4 +45,4 @@ s = smtplib.SMTP('localhost')
# sendmail function takes 3 arguments: sender's address, recipient's address
# and message to send - here it is sent as one string.
s.sendmail(me, you, msg.as_string())
-s.close()
+s.quit()