Sending bulk email from a Python script
Cameron Laird
claird at lairds.com
Mon Mar 8 21:36:34 EST 2004
In article <2004030819064420092%cs1spw at bathacuk>,
Simon Willison <cs1spw at bath.ac.uk> wrote:
.
.
.
>Our largest list at the moment is 4,000 addresses. The business we are in
>(local online newspaper) means we are very unlikely to ever have more than
>10,000. The answer certainly relates to sendmail, but I'm interested in any
>experience other people may have with this kind of task. At the moment I'm
>looking at using smtplib and just cycling through calling smtp.send() once
>for every address but I'm not confident that that this is a particularly
>efficient method. If there's a better option I'd love to hear about it.
.
.
.
You didn't mention how often you're doing this. If it's
only daily, there's no problem looping through smtp.send()
as you describe. Really. You're doing the right thing.
And good luck to you. I have a soft spot for local news
outlets.
--
Cameron Laird <claird at phaseit.net>
Business: http://www.Phaseit.net
More information about the Python-list
mailing list