> imaplib.abort: command: SEARCH => unexpected response: '*' > > Can anyone tell me why this happens ? It looks like a server problem. What kind of server are you using ? Exchange, Cyrus ? Did you try with two different Imap servers ? If it is a unix server, did you have a look in /var/log ? Or in windows event log ?