> Put this another way-- how do other people manage high-performance
> exception mailing?
I'm happily using James Tauber's django-mailer for asynchronous mailing:
http://code.google.com/p/django-mailer/
You could for example query the Django app cache if it's installed and
fall back to django
On Tue, Dec 16, 2008 at 6:53 PM, Malcolm Tredinnick
wrote:
...
> You only have to override the handle_uncaught_exception() method --
> that's where the mailing is restricted to.
Bah, that's what I get for looking at my pre-1.0 django rev. Sorry
for the noise. :-(
--~--~-~--~~-
On Tue, 2008-12-16 at 16:15 -0600, Jeremy Dunck wrote:
> On Tue, Dec 16, 2008 at 3:44 PM, Jacob Kaplan-Moss
> wrote:
> >
> > On Tue, Dec 16, 2008 at 11:56 AM, Jeremy Dunck wrote:
> >> Since sending email can block for an arbitrarily long time, I'd like
> >> to make it so that when an exception
We simply send them to localhost. Learned the lesson long ago to not
spam a normal email account with it :)
On Dec 16, 4:15 pm, "Jeremy Dunck" wrote:
> On Tue, Dec 16, 2008 at 3:44 PM, Jacob Kaplan-Moss
>
>
>
> wrote:
>
> > On Tue, Dec 16, 2008 at 11:56 AM, Jeremy Dunck wrote:
> >> Since sendi
On Wed, Dec 17, 2008 at 11:15 AM, Jeremy Dunck wrote:
>
> Put this another way-- how do other people manage high-performance
> exception mailing? Maybe I'm Doing It Wrong.
Run postfix on the host server and have Django send errors to localhost.
Then postfix queues it and emails it on as approp
On Tue, Dec 16, 2008 at 3:44 PM, Jacob Kaplan-Moss
wrote:
>
> On Tue, Dec 16, 2008 at 11:56 AM, Jeremy Dunck wrote:
>> Since sending email can block for an arbitrarily long time, I'd like
>> to make it so that when an exception occurs in
>> django.core.handlers.base, it calls our mail_admins rat
On Tue, Dec 16, 2008 at 11:56 AM, Jeremy Dunck wrote:
> Since sending email can block for an arbitrarily long time, I'd like
> to make it so that when an exception occurs in
> django.core.handlers.base, it calls our mail_admins rather than
> django's stock mail_admins.
>
> With an eye towards bac
We've locally implemented an asynchronous mailing system and made it
have the same function signatures.
So .mail has all the same function names and signatures
as django.core.mail.
Since sending email can block for an arbitrarily long time, I'd like
to make it so that when an exception occurs in