Roopesh wrote:
> I am using the imaplib to fetch mails. There is an error thrown in the
> search function, which I am not able to comprehend.
I had difficulties with the imaplib, too. It is very low level. You need
to know some parts of the IMAP protocol.
I solved my problems by checking with et
> 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
I am using the imaplib to fetch mails. There is an error thrown in the
search function, which I am not able to comprehend.
My program is as follows :
import imaplib
M = imaplib.IMAP4("10.1.1.1",1143)
M.login("roopesh", "roopesh12")
type, data = M.select("INBOX", 1)
print typ