This is a simple debugging script for mail functions...
<?php
//Built By Manomite for Debugging
class Error{
function __construct(){
error_reporting ( E_ALL ^ E_NOTICE );
$err = error_get_last ();
if($err){
$res = "An error has occurred in your application sir.\n Details Include " .$err.""
mail("[email protected]","Error Occurred",$res,$from);
}
}
}
?>