[Zope] Mailing of Zope Errors to webmaster

Andres Corrada andres@corrada.com
Fri, 28 Apr 2000 14:34:29 -0400


John Chandler wrote:

> <dtml-sendmail smtphost="mail">
> To: webmaster@yourdomain.com
> From: Zope Errors <zope_errors@yourdomain.com>
> Subject: Zope error report
> 
> Error Location:
>  <dtml-var SERVER_URL><dtml-var PATH_INFO>
> 
> Traceback:
> 
> <dtml-var error_tb>
> 
> </dtml-sendmail>
> 
> Of course, you'll probably want to customise the message a bit, but this
> should give you a starting point. Any problems, let me know.
> 
> I wrote this and a few related topics up a while back, but never got round
> to publishing them on the Zope site... I think I'll have to tidy it off
> and make it public.
> 
> John
> 

Thanks for the tip, John. By all means publish your topics, "if it gets
asked once, it will be asked again" is my motto.

------------------------------------------------------
Andres Corrada-Emmanuel   Email: andres@corrada.com
------------------------------------------------------