[issue36093] UnicodeEncodeError raise from smtplib.verify() method

2020-03-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue36093] UnicodeEncodeError raise from smtplib.verify() method

2020-03-27 Thread Windson Yang
Windson Yang added the comment: Any update? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue36093] UnicodeEncodeError raise from smtplib.verify() method

2019-02-25 Thread STINNER Victor
STINNER Victor added the comment: Barry: would you mind to have a look at this issue? It seems like smtplib encodes Unicode commands to ASCII, whereas verify() argument (SMTP "VRFY" command) is an hostname and hostname can be non-ASCII ("punycode" encoding, RFC 3492). -- nosy: +barr

[issue36093] UnicodeEncodeError raise from smtplib.verify() method

2019-02-23 Thread Windson Yang
Windson Yang added the comment: Btw, from the docs https://docs.python.org/3/library/smtplib.html#smtplib.SMTP.sendmail > msg may be a string containing characters in the ASCII range, or a byte > string. A string is encoded to bytes using the ascii codec, and lone \r and > \n characters are

[issue36093] UnicodeEncodeError raise from smtplib.verify() method

2019-02-22 Thread Windson Yang
New submission from Windson Yang : AFAIK, the email address should support non-ASCII character (from https://stackoverflow.com/questions/760150/can-an-email-address-contain-international-non-english-characters and SMTPUTF8 option from https://docs.python.org/3/library/smtplib.html#smtplib.SM