fredeil / email-validator.dart

A simple Dart class for validating email addresses (syntax) without using RegEx :email:
https://pub.dartlang.org/packages/email_validator
MIT License
190 stars 38 forks source link

False returned on email address #47

Closed CabTheProgrammer closed 1 year ago

CabTheProgrammer commented 1 year ago

Hello, I have an email address of the format xsdffgbh###@gmail.com (letters followed by three numbers) that is being rejected by the package. Can anyone assist me with this?

HeySreelal commented 1 year ago

Can you share the code snippet? Also, please share the package's version code that you're using in your project. I've tried it myself and seems to be working fine:

void validateEmail() {
  var email = "xsdffgbh123@gmail.com";
  final res = EmailValidator.validate(email);
  print("Email is valid: $res");
}

validateEmail(); // => Email is valid: true
fredeil commented 1 year ago

Seems like a non issue? Please make sure you're using the latest version