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 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.attach_alternative(email.message_html, 'text/html')
>     msg.send()
>
> 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 has been sent to everyone?
>
> Should I fork off a new process? If so, how can I be sure it finishes
> successfully?
>
> --
> Pete
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to