On Wed, 2007-10-24 at 16:54 +0000, chris wrote: > I need to maintain a list of subscribers to an email list for a > "newsletter" that will be sent via a web form probably once a month. > I anticipate low numbers--tens to maybe one hundred subscribers at the > most. Just curious what the best way to code this is. Should I just > loop through the addresses and send one-off emails to each, or is it > better to somehow send to every recipient in one shot? One thing I > would like to avoid in the latter scenario is each recipient being > able to see the entire list of recipients. Also don't want to trigger > any kind of spam thing on my web host by sending out too many emails. > > Anyway, any tips appreciated. > > Thanks, > Chris >
Before you reinvent the wheel, you should look into using a mailing list manager, Mailman for example: http://www.gnu.org/software/mailman/index.html Regardless, confirmed double-opt-in should be a requirement as should a mechanism for subscribers to unsubscribe themselves. Using a 'list address' as the from address and using bcc addressing will prevent your recipients from being able to see all the other recipient addresses. -- http://mail.python.org/mailman/listinfo/python-list