Yes. look into routes_onerror:

you map errors into actions (within the same or a different
application). I suggest you make a new empty app with no models and
redirect all errors to it. Upon redirection the ticket number of
passed as a GET variable. You can use the ticket number to open the
ticket file and email the administrator with details about the ticket.
You can use the

You only need these two web2py APIs:
gluon.tools.Mail
gluon.restricted.RestrictedError.load

Massimo

On Dec 6, 5:04 pm, blackthorne <francisco....@gmail.com> wrote:
> hi
>
> Before messing things up, I would like to know if there is any option,
> snippet or elegant way to do this:
> Send to my email all generated error tickets for an application as
> they get generated.
>
> Thank you,
> Best Regards

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to