diff --git a/platform/php/MailChecker.tmpl.php b/platform/php/MailChecker.tmpl.php index 7a7c8a02..a6eda3b2 100644 --- a/platform/php/MailChecker.tmpl.php +++ b/platform/php/MailChecker.tmpl.php @@ -31,7 +31,12 @@ private static function validEmail($email) { } } - private static function isBlacklisted($email) { + /** + * Check if an email is blacklisted or not + * @param String $email + * @return boolean true if $email is blacklisted + */ + public static function isBlacklisted($email) { $parts = explode("@", $email); $domain = end($parts);