mfbx9da4 / deep-email-validator

Validates regex, typos, disposable, dns and smtp
MIT License
869 stars 90 forks source link

Validation does not work properly with edu.pl domains and disposable emails #15

Open kbzowski opened 3 years ago

kbzowski commented 3 years ago

E-mail address from the @agh.edu.pl domain (correct university emails) is recognized as a typo with suggestion that it should be @agh.edu Why does disposable, mx and smtp also not valid?

{
  valid: false,
  validators: {
    regex: { valid: true },
    typo: {
      valid: false,
      reason: 'Likely typo, suggested email: ***@agh.edu'
    },
    disposable: { valid: false },
    mx: { valid: false },
    smtp: { valid: false }
  },
  reason: 'typo'
}

I tried disposable emails from: https://temp-mail.org and https://mail.tm/ in both cases "disposable" was valid...

SupertigerDev commented 3 years ago

yea, for some reason, custom emails show as invalid in smtp. My email donotreply@nertivia.net also shows as invalid for smtp