function CustomErr($cusno,$cuserr)
{
echo "<b>Error : </b>". "[$cusno] ".$cuserr;
error_log("<b>Error : </b>[$cusno] $cuserr",1,"someone@gmail.com");
echo "User notified by email";
die();
}
实际上我没有收到任何错误,但在执行这些功能后,我试图通过电子邮件读取错误消息(在Destination参数中)但没有收到此类消息