Simple programme - Just want to know whether this is correct way of coding

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Fri May 8 20:51:46 EDT 2009


On Thu, 07 May 2009 23:37:27 -0700, guptha wrote:

> The code Works fine ,but I doubt about the performance issue ,My
> intention is to send mails concurrently to large number of mail. 1.For
> every mail id i send It creates a new SMTP object,in case, if i send to
> 1000 or more ids
>       a) It obliviously creates that much SMPT connections ,is this a
> right approach .

Why do you care? I assume you're running this code on a botnet, so why 
care about performance?

[ha ha only serious]


-- 
Steven



More information about the Python-list mailing list