Message394779
In an EAI (SMTPUTF8) mail session, AUTH usernames and passwords can be UTF-8, not just ASCII.
The fix is easy. In smtplib.py, in three places in the auth() and auth_cram_md5() routines change ".encode('ascii')" to ".encode(self.command_encoding)"
I have tried this with EAI mail servers in India and China to be sure it works. |
|
Date |
User |
Action |
Args |
2021-05-30 19:25:20 | jrlevine | set | recipients:
+ jrlevine |
2021-05-30 19:25:20 | jrlevine | set | messageid: <1622402720.57.0.196040289354.issue44269@roundup.psfhosted.org> |
2021-05-30 19:25:20 | jrlevine | link | issue44269 messages |
2021-05-30 19:25:20 | jrlevine | create | |
|