-
Notifications
You must be signed in to change notification settings - Fork 91
login with unicode password #379
Copy link
Copy link
Open
Milestone
Description
Not sure if the issue lies on the side of imapclient or python's imaplib, but to be able to connect using a non-ascii password, i need to do
client = IMAPClient(host, use_uid=True, ssl=True)
client._imap._mode_utf8() # this line shouldn't be needed, or at least not use private objects/methods
client.login(user, password)
It seems imaplib supports logging with unicode username/passwords, but using the authenticate method, but the only usage seems to be for login_cram_md5, i didn't look into making an authobject for login method yet, maybe it's possible, but IMAPClient doesn't expose the authenticate method anyway.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels