Throwing another option here ...
Include PHP in 404 template and include some PHP. Sort of
mail ( toaddress , subject , message );
Oil as you wish. You can pull out things like the requested url and include them in the email.
<?php $url = 'http'.(empty($_SERVER['HTTPS'])?'':'s').'://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; mail(' me@myemail.com ','404 on website','Hit 404 page on site for URL: '.$url); ?>
source share