In member.php look for code that looks something like this:
if (false === $test->check_email_address($rawemail)) {
error($lang['bademail']);
}
Add below:
// don't allow specific email domain addresses
$email_spams = array('gmx.com','mailinator.com'); // just add known domains you want to exclude
$spamdomain = strtolower(substr($email, strpos($email,'@')+1));
if(in_array($spamdomain,$email_spams)) {
error($lang['bademail']);
}
TEST, if works, say thanks! |