bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs by matrixise · Pull Request #5451 · python/cpython

bitdancer

bitdancer

@matrixise

…addr and to_addrs

Avoid to set the SMTPUTF8 flag when the sender name contains a non-ascii
character. Patch by Stéphane Wirtel

bitdancer

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jan 31, 2018
…addr and to_addrs (pythonGH-5451)

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

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>

bitdancer pushed a commit that referenced this pull request

Jan 31, 2018
…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 8d83e4b)

Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>

ned-deily pushed a commit to ned-deily/cpython that referenced this pull request

Jan 31, 2018
…addr and to_addrs (python#5451)

Do not pass the name field in the 'from' address in the SMTP envelope.