i think this code was from me when i helpef Gifted but i dont know where i posted it .
But you can do it easy with this funktion
![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
function is_bad_mail($mail) {
$bad_mails = array("mail.ru","yandex.ru");
foreach ($bad_isp as $arr) {
if (preg_match("/".$arr."/i",$mail) == true) {
return true;
}
}
return false;
}
its psoydocode just tipped here not tested !
if you need help contact me !
kind regards