Blame view

app/Services/Registration/EmailValidator.php 399 Bytes
e77200db5   nologostudio.ru   Initial commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  
  namespace FootyRoom\Services\Registration;
  
  class EmailValidator
  {
      protected static $bouncePattern = '/(\.pl$)|(shawnna\.progrespoland.com$)|(newwifihack24\.com$)|(rhtools.com$)/';
  
      public static function isBounceRisk($email)
      {
          if (preg_match(self::$bouncePattern, $email, $matches)) {
              return true;
          } else {
              return false;
          }
      }
  }