Author jrlevine
Recipients jrlevine
Date 2021-05-30.19:25:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In an EAI (SMTPUTF8) mail session, AUTH usernames and passwords can be UTF-8, not just ASCII.

The fix is easy.  In, 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:20jrlevinesetrecipients: + jrlevine
2021-05-30 19:25:20jrlevinesetmessageid: <>
2021-05-30 19:25:20jrlevinelinkissue44269 messages
2021-05-30 19:25:20jrlevinecreate