Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(181907)

Unified Diff: Doc/whatsnew/3.2.rst

Issue 10321: Add support for Message objects and binary data to smtplib.sendmail
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Doc/library/smtplib.rst ('k') | Lib/smtplib.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Doc/whatsnew/3.2.rst
===================================================================
--- Doc/whatsnew/3.2.rst (revision 86166)
+++ Doc/whatsnew/3.2.rst (working copy)
@@ -502,7 +502,15 @@
(Contributed by Neil Schemenauer and Nick Coghlan; :issue:`5178`.)
+* The :mod:`smtplib` :class:`~smtplib.SMTP` class now accepts a byte string
+ for the *msg* argument to the :meth:`~smtplib.SMTP.sendmail` method,
+ and a new method, :meth:`~smtplib.SMTP.send_message` accepts a
+ :class:`~email.message.Message` object and can optionally obtain the
+ *from_addr* and *to_addrs* addresses directly from the object.
+ (Contributed by R. David Murray, :issue:`10321`.)
+
+
Multi-threading
===============
« no previous file with comments | « Doc/library/smtplib.rst ('k') | Lib/smtplib.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+