imaplib.error state AUTH
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Popper |
Invalid
|
Undecided
|
Unassigned |
Bug Description
my test was with imap.gmail.com
cat .popper/popper.log
Checking email accounts at: Sat Apr 16 10:14:13 2011
Traceback (most recent call last):
File "popper.py", line 1218, in <module>
if __name__ == '__main__': main()
File "popper.py", line 1208, in main
indicator.
File "popper.py", line 536, in timeout
self.mail_list = self.mails.
File "popper.py", line 222, in get_mail
status, data = srv.search(None, 'UNSEEN') # ALL or UNSEEN
File "/usr/lib/
typ, dat = self._simple_
File "/usr/lib/
return self._command_
File "/usr/lib/
', '.join(
imaplib.error: command SEARCH illegal in state AUTH, only allowed in states SELECTED
needed to explicitly specify port number 993 as in http:// mail.google. com/support/ bin/answer. py?answer= 78799 -- solved, cheers!