Sorry, our email server has been down for a few hours.

Yup, that's exactly what I used it for on my end.

-tim

Mark Larsen wrote:
Duh!

It looks like his routes_onerror would do everything I need.  My
customexception.py just becomes a controller method.

Thanks Tim & Massimo.

On Nov 12, 12:45 pm, mdipierro <[EMAIL PROTECTED]> wrote:
  
Mark,

please talk to Tim. We just included (1.48) his patch for
"routes_onerror". I believe what you are proposing has a lot of
superposition with what he proposed and can handled already by the
current version of web2py.

Mind that sending emails on error has one problem... what if the
function that sends the email causes an error? Do you go in one loop
and send hundreds of emails? I have seen this last week when I got 850
email in 10 minutes (it was not a web2py app).

I think there should be a daemon that monitors tickets (from database
or filesystem) and is in charge of sending emails. This must be
decoupled from web2py actions.

Massimo
    


  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

begin:vcard
fn:Timothy Farrell
n:Farrell;Timothy
org:Statewide General Insurance Agency;IT
adr:;;4501 East 31st Street;Tulsa;OK;74135;US
email;internet:[EMAIL PROTECTED]
title:Computer Guy
tel;work:(918)492-1446
url:www.swgen.com
version:2.1
end:vcard

Reply via email to