summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/includes/email-simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/email-simple.py b/Doc/includes/email-simple.py
index b069ab0..fdf6f82 100644
--- a/Doc/includes/email-simple.py
+++ b/Doc/includes/email-simple.py
@@ -19,5 +19,5 @@ msg['To'] = you
# Send the message via our own SMTP server.
s = smtplib.SMTP()
-s.sendmail(msg)
+s.send_message(msg)
s.quit()