Handling 404 errors with email - and a twist
Everyone has seen an HTTP 404 error at some point. You follow a link on a web page, and BOOM - File not found. Perhaps the author spelt it incorrectly, or the page was uploaded to the server by mistake. This tutorial'll show you how to handle this 404 error gracefully by displaying your custom error page, and send an email to yourself so the problem gets fixed.