<?php
if (eregi("^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$",$email)) {
echo "您的 E-Mail 通过初步检查";
}
?>
if (eregi("^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$",$email)) {
echo "您的 E-Mail 通过初步检查";
}
?>
$email=explode("@",$email);
$emailhost=$email[1];if(!getmxrr($emailhost,$mxhostsarr))
{
echo "Email地址错误";
exit;
}
?>
这也只能检测服务器,具体有没有这个用户我也不知道了,等下面的。