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 ethereal (wireshark) what other applications (KMail, getmail) do. getmail is like fetchmail, but written in Python. I found some hints by looking at its source. HTH, Thomas -- Thomas Güttler, http://www.thomas-guettler.de/ http://www.tbz-pariv.de/ E-Mail: guettli (*) thomas-guettler + de Spam Catcher: [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list