On 2008-12-19, Jean-Paul Calderone <exar...@divmod.com> wrote: > On Fri, 19 Dec 2008 08:47:18 -0800 (PST), Martin <mr...@gmx.de> wrote: >>Currently I am trying to get used to Python's imaplib and email >>modules. >>I'like to create a webmail client simmilar to GMail. > > I'd suggest using Twisted's IMAP4 client. It's somewhat easier to > use than Python's imaplib because it does much more parsing of IMAP4's > complex syntax for you. It will also be easier to do IMAP4 and HTTP > simultaneously if you're using Twisted.
Anything that helps with with the IMAP responses is worth looking at, because parsing IMAP response messages is brutal. I'm not sure what the IMAP protocol authors thought was going to be parsing the replies, but it sure couldn't have been a real-world computer program. IMO, the IMAP protocol has achieved a level of suckage that would make Microsoft proud. But, it works. Eventually. -- Grant -- http://mail.python.org/mailman/listinfo/python-list