Re: sending >500 emails using send_email in a for loop

2007-12-19 Thread Itai Tavor
Hi Peter, On 19/12/2007, at 8:18 AM, Peter Baumgartner wrote: > > I've built a newsletter app that currently cycles through 500+ emails > and I'd like to have it scale to handle more. > > Currently I just have code like this in my view: > > for recipient in email_list: >msg = EmailMultiAlter

Re: sending >500 emails using send_email in a for loop

2007-12-19 Thread Jökull
You may want to have a look at http://groups.google.com/group/django-mailer It seems to have died halfway complete but there is a bit of discussion and at least some code you could look at. Jökull On Dec 18, 9:18 pm, "Peter Baumgartner" <[EMAIL PROTECTED]> wrote: > I've built a newsletter app t

Re: sending >500 emails using send_email in a for loop

2007-12-18 Thread Rajesh Dhawan
Hi Pete, > I've built a newsletter app that currently cycles through 500+ emails > and I'd like to have it scale to handle more. > it seems to hang up the browser for quite a while with even just a few > emails. What is the best way to do this and give the user confirmation > that the email ha

sending >500 emails using send_email in a for loop

2007-12-18 Thread Peter Baumgartner
I've built a newsletter app that currently cycles through 500+ emails and I'd like to have it scale to handle more. Currently I just have code like this in my view: for recipient in email_list: msg = EmailMultiAlternatives(email.subject, email.message_text, email.sender, [recipient]) msg