function smtp_check(){
$apdomain = $this->domain();
$f = @fsockopen($apdomain, 25) ;
if ($f !== false) {
$res = fread($f, 1024) ;
if (strlen($res) > 0 && strpos($res, '220') === 0) {
return TRUE;
}
else {
return FALSE ;
}
}
@fclose($f);
return FALSE;
}