Example #1
0
 /**
  * 
  * @param $mailFrom
  *
  * @return bool
  */
 public function checkAgainstPrivateBlacklist($mailFrom)
 {
     $explodedMail = explode('@', $mailFrom);
     $record = $this->database->findBlacklistEntry($mailFrom, $explodedMail[1]);
     if (is_array($record) && !empty($record)) {
         return true;
     }
     return false;
 }