There's no built-in functionality to facilitate emailing of error messages to an administrator, but this can be easily handled in ErrHandler.fwx. A word of caution: ErrHandler.fwx is part of the error handler, so there's no way to trap errors in it. If an error occurs in your custom code, it will pop up an error dialog, causing the channel to hang! FoxWeb's channel monitor will probably be able to recover the channel, but not until it times out. I suggest that spend a lot of time making sure that the code you add to this script is free of errors. Another potential problem is that SMTP controls return a run-time error if they can't connect with the SMTP server. There are two potential solutions to this:
Sent by chr(32)man on 10/29/2003 08:54:05 PM:
Is there a built in function in foxweb for having error messages sent to an email or does the ErrHandler.fwx have to be modified to do this?