> isEmail('[email protected]');
false
> normalizeEmail('[email protected]');
'[email protected]'
> validator.version
'10.2.0'
> isEmail('[email protected]');
true
I don't believe that gmail will allow for an underscore in the address. I know that periods are ignored. If I change your email to justen.[email protected], it validates perfectly.
You are right!
Gmail only accepts periods.
Thanks. :+1:
isEmail returns false for [email protected], [email protected]. But for [email protected], [email protected], [email protected] it returns true. Only gmail usernames are making this. [email protected], [email protected] works fine.
Faker is the package in the wrong, but if you need an immediate fix go back to validator v9
Most helpful comment
isEmail returns false for [email protected], [email protected]. But for [email protected], [email protected], [email protected] it returns true. Only gmail usernames are making this. [email protected], [email protected] works fine.