I haven't send near 8000 messages yet, but what I did was a combination of what Malcom suggested. I setup a model to queue the messages (pickled email.MIMEMultipart) with a priority, and a cron that runs occasionally to dump N messages per mx domain over time so the mailing trickles out. to the local mailserver that actually does the sending. Since the connection to the local mailserver is done once and messages are batched it should eliminate the overhead of sending one by one.
Then for bounce detection, import from Mailman and let it check the POP3 account of the sending account. I was really surprised at how easy it was. Python has all of the mail stuff build in, and Mailman adds the bounce detection just by importing its module. My point is don't be afraid to roll your own solution, its not hard at all. For example the pop3 check/bounce detection which might seem complicated is just a few lines of code: def check_pop3_bounces(server,user,password): messages=[] s=poplib.POP3(server) s.user(user) s.pass_(password) resp, items, octets = s.list() bounced=Set() # items will be a list of 'MSG ID, SIZE' for item in items:#[:5]: id,size=item.split() resp,text,octets = s.retr(id) text = string.join(text, "\n") file = StringIO.StringIO(text) message=email.message_from_file(file) addr=BouncerAPI.ScanMessages('somename',message) s.dele(id) # delete it, we'll forward non-junk if isinstance(addr,BouncerAPI._Stop): pass # junk message elif addr: for a in addr: bounced.add(a) else: valid_messages.append(message) s.quit() return bounced,valid_messages --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---