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
195 stars 38 forks source link

Email addresses with hyphen not valid #12

Closed krille-chan closed 4 years ago

krille-chan commented 4 years ago

Describe the bug :bug: Email addresses with a hyphen in the domain are marked as not valid but they are.

To Reproduce Test the email address: test.nutzer@drk-nwm.care

Expected behavior Should be correct.

Additional context Validator returns false.

fredeil commented 4 years ago

Sounds odd based on this test case @ChristianPauly https://github.com/fredeil/email-validator.dart/blob/master/test/email_validator_test.dart#L59

Are you using the latest version?

krille-chan commented 4 years ago

hey, I have checked again and now it seems to work. Maybe our customers have used an older version of our product. Sorry for this.