mirror of
https://github.com/python/cpython.git
synced 2026-03-30 00:21:21 +00:00
Merge #11883: replace incorrect call to sendmail with correct call to send_message
This commit is contained in:
commit
d3f075a4c0
1 changed files with 1 additions and 1 deletions
|
|
@ -19,5 +19,5 @@
|
|||
|
||||
# Send the message via our own SMTP server.
|
||||
s = smtplib.SMTP()
|
||||
s.sendmail(msg)
|
||||
s.send_message(msg)
|
||||
s.quit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue