I wouldnt do this - I got nailed by the NIMDA worm. 1000's of computers that caught it after sept. 11th were each accessing something like 11 wierd paths, which of course didn't exists, so my admin account was flooded with over 100K emails within a couple of days. I would recommend doing a little extra work and make it a form which has to be submitted by the user. Otherwise, just check the log files.
From: Anthony Baxter <anthony@interlink.com.au> Reply-To: Anthony Baxter <anthony@interlink.com.au> Date: Fri, 04 Jan 2002 14:22:26 +1100 To: Edmund Goppelt <goppelt@goppelt.net> Cc: zope@zope.org Subject: Re: [Zope] Capturing Site Errors
Edmund Goppelt wrote I would like to receive an email everytime there is a Site Error, with the error, the offending URL and query string etc. How do you do this?
A standard_error_message that uses dtml-sendmail will do the trick.
Anthony
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )