summaryrefslogtreecommitdiffstats
path: root/Doc/includes/email-simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/email-simple.py')
-rw-r--r--Doc/includes/email-simple.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py
index 44152a4..689511e 100644
--- a/Doc/includes/email-simple.py
+++ b/Doc/includes/email-simple.py
@@ -20,6 +20,5 @@ msg['To'] = you
# Send the message via our own SMTP server, but don't include the
# envelope header.
s = smtplib.SMTP()
-s.connect()
s.sendmail(me, [you], msg.as_string())
-s.close()
+s.quit()