platform/php/MailChecker.php
public static function isBlacklisted($email) {
        $parts = explode("@", $email);
        $domain = end($parts);

        foreach (self::allDomainSuffixes($domain) as $domainSuffix) {
            if (in_array($domainSuffix, self::$blacklist)) {
                return true;
            }
        }

        return false;
    }
public static function isBlacklisted($email) {
        $parts = explode("@", $email);
        $domain = end($parts);

        foreach (self::allDomainSuffixes($domain) as $domainSuffix) {
            if (in_array($domainSuffix, self::$blacklist)) {
                return true;
            }
        }

        return false;
    }
public static function isBlacklisted ( $ email ) { $ parts = explode ( "@" , $ email ) ; $ domain = end ( $ parts ) ; foreach ( self :: allDomainSuffixes ( $ domain ) as $ domainSuffix ) { if ( in_array ( $ domainSuffix , self :: $ blacklist ) ) { return true ; } } return false ; }
Check if an email is blacklisted or not
@param  String  $email
@return boolean        true if $email is blacklisted
Check if an email is blacklisted or not