[Twisted-Python] Using spawnProcess

Grigorescu Ciprian grigorescu_ciprian at yahoo.com
Mon Sep 1 06:24:43 MDT 2014


Hello,
I have wrote a custom protocol(inherit from SMTPClient) and factory(inherit from ClientFactory) in order to send emails from multiple ips(multiple connections, factories).

Now I want to run this pice of code multiple times using spawnProcess to send emails simultaneous, each process having "n" connections from "n" ips.

How can i use spawnProcess? Or is another way to send emails in a parallel fashion with twisted? Maybe another approach? 



Thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140901/fb19125e/attachment.html>


More information about the Twisted-Python mailing list