I just ran into an issue with Python's imaplib and Gmail's authentication mechanism:
>>> import imaplib
>>> imap = imaplib.IMAP4_SSL('imap.gmail.com', 993)
>>> imap.authenticate('[email protected]', 'Bob Dole likes your style!')
Traceback (most recent call last):
...
imaplib.error: AUTHENTICATE command error: BAD ['TODO (not supported yet) 31if3458825wff.5']
If authentication is unsupported, how does one log in?
Instead of
>>> imap.authenticate('[email protected]', 'Bob Dole likes your style!')
use
>>> imap.login('[email protected]', 'Bob Dole likes your style!')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With