]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addr...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 31 Jan 2018 20:54:09 +0000 (12:54 -0800)
committerR. David Murray <rdmurray@bitdance.com>
Wed, 31 Jan 2018 20:54:09 +0000 (15:54 -0500)
commit85a92d00bd278022cc00fda6b124c06f614c5ebb
treeb4984e5843f193af2d34be2278c25dc506bdb48b
parentea94fce6960d90fffeeda131e31024617912d231
bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (GH-5451) (#5455)

Do not pass the name field in the 'from' address in the SMTP envelope.
(cherry picked from commit 8d83e4ba7823827bcbc119db887004d5c3a63dc6)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
Lib/smtplib.py
Lib/test/test_smtplib.py
Misc/NEWS.d/next/Library/2018-01-30-17-46-18.bpo-32727.aHVsRC.rst [new file with mode: 0644]