[Twisted-Python] Multiple clients

Balogh Szabolcs bszabolcs at gmail.com
Fri Jun 18 04:36:25 MDT 2010


Hy,

Can somebody send me a small example how to use multiple clients at same
time? For example to connect to 3 different IMAP server. I need this because
I'm working on an email client engine. I can connect to POP/IMAP/SMTP server
to download and send messages, but I have created those methods separated,
and each time when I check for new messages or send a message I use
reactor.run() and reactor.stop(). But calling it multiple times is a
problem. So I need something:
 - when I press button1, the application checks for new messages on POP
server.
 - when I press button2, the application checks for new messages on IMAP
server.

I know how to check for messages on IMAP/POP server, but I don't know how to
do it periodically with twisted...


I hope you understand what I'm trying to explain :}}


Thanks in advance
Szabolcs Balogh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20100618/0ae92e3e/attachment.html>


More information about the Twisted-Python mailing list