<div>Tarjei,<br><br>Yep. I actually grabbed it, but on perusal, but its use of twisted seemed a little too layered to help me at my current twisted expertise. Of course, now that I think I have the problem narrowed down to the login phase, it might help.<br>
<br>Tnx.<br><br>Tarjei wrote: <br></div><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">On 06/11/2009 02:03 AM, Pywinder Singh wrote:<br>> Can someone point me to a working example of imap4 client?<br>
><br>> I've tried the example off the site, code from Abe Fettig's book, and<br>> every example I could find on the web. (most of them seem outdated, as<br>> do most discussions I've found on the subject)<br>
<br>Have you looked at chandler? AFAIK it uses (or used to use) Twisteds <br>IMAP code.<br><br><br>Regards,<br>Tarjei<br><br>><br>> All of them invariably end with:<br>><br>> twisted.internet.error.TimeoutError: User timeout caused connection<br>
> failure<br>><br>> or<br>><br>> twisted.internet.error.ConnectionLost: Connection to the other side<br>> was lost in a non-clean fashion.<br>><br>><br>><br>> I've pointed the code at two different IMAP servers, both of which (one<br>
> is gmail, the other is a private server) I am able to access with a<br>> hitch with python's own imaplib. I've tried the sample code on an Ubuntu<br>> system, OSX, and tried python versions 2.5 and 2.6.<br>
><br>> Ideally, I'd love to see a snipped which is able to log into an imap<br>> server and gets a list of mailboxes. If the example on the site works<br>> for other folks, I'd love a nudge in the right direction to modify the<br>
> code to get a bit more debugging info.<br>><br>> Thanks in advance!<br>><br>><br>> ------------------------------------------------------------------------<br>><br>> _______________________________________________<br>
> Twisted-Python mailing list<br>> Twisted-Python at <a href="http://twistedmatrix.com">twistedmatrix.com</a><br>> <a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br><br>-- <br>Tarjei Huse<br>Mobil: 920 63 413<br></blockquote>