Because the total operation of sending these emails is longer then 30 sec it can't be handled in one request. Have a look at the deferred module.
http://code.google.com/appengine/articles/deferred.html And try to keep below the 8/min (free quota) or 5100/min (billed quota) for emails send by using a simple sleep() in the deferred handler loop. Or time how many emails you can send in 30 sec from one app instance. For more then 2000 a day you have to pay http://code.google.com/appengine/docs/quotas.html#Mail 2009/10/19 Joshua Smith <[email protected]>: > > I need to add the ability to send a message to a list of users of my > application. In some cases, this could be in the small thousands. > > I can think of a few ways to do this, but what is the *best* way? > > Anyone have any experience to share? > > -Joshua > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
