Add error reporting in mail.php