[Twisted-Python] send somes mails
William Dode
wilk-ml at flibuste.net
Sun Sep 21 02:24:31 MDT 2003
Jp Calderone <exarkun at intarweb.us> writes:
> On Sat, Sep 20, 2003 at 01:36:20PM +0200, William Dode wrote:
>> Hi,
>>
>> Is it a good way to call smtp.sendmail() for sending a lot of mails
>> (it's for a scrabble game, not spam !) It will connect and deconect for
>> each mail isn't it ?
>
> twisted.protocols.smtp.sendmail() is better
It's what i use. But it's very slow and it call each time
reactor.connect...
--
William Dodé - http://flibuste.net
More information about the Twisted-Python
mailing list