function isBlacklisted($email)
{
// return current server id..
+ $this->logecho("CHECK BLACKLISTED - {$email}");
if (empty($ff->Core_Notify['servers'])) {
return false;
}
// get the domain..
$ea = explode('@',$email);
$dom = strtolower(array_pop($ea));
+
+ $this->logecho("CHECK BLACKLISTED DOM - {$dom}");
if (!in_array($dom, $ff->Core_Notify['servers'][gethostname()]['blacklisted'] )) {
return false;
}
+ $this->logecho("RETURN BLACKLISTED TRUE");
return array_search(gethostname(),array_keys($ff->Core_Notify['servers']));
}