[issue39757] EmailMessage wrong encoding for international domain

2020-02-27 Thread SilentGhost
Change by SilentGhost : -- superseder: -> email parseaddr and formataddr should be IDNA aware ___ Python tracker ___ ___

[issue39757] EmailMessage wrong encoding for international domain

2020-02-27 Thread Julien Castiaux
Julien Castiaux added the comment: Woops wrong copie/paste, here is the correct link: https://bugs.python.org/issue11783 -- ___ Python tracker ___

[issue39757] EmailMessage wrong encoding for international domain

2020-02-27 Thread Julien Castiaux
Julien Castiaux added the comment: Duplicate of https://bugs.python.org/issue39757 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39757] EmailMessage wrong encoding for international domain

2020-02-26 Thread Julien Castiaux
Change by Julien Castiaux : -- keywords: +patch pull_requests: +18023 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18667 ___ Python tracker ___

[issue39757] EmailMessage wrong encoding for international domain

2020-02-26 Thread Julien Castiaux
New submission from Julien Castiaux : Affected python version: 3.5 and above (did test them all except 3.9) Steps to reproduce: from mail.message import EmailMessage from mail.policy import SMTP msg = EmailMessage(policy=SMTP) msg['To'] = 'Joe ' # notice the é in the domain