-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi, thanks for creating this Rust crate, I started using it and I like it very much.
I was using these documents to examine intentional email addresses:
https://en.wikipedia.org/wiki/Email_address#Internationalization
https://en.wikipedia.org/wiki/International_email
and I found some cases that don't match.
-
Marked as invalid, should be valid
"[email protected]" -
Marked as valid, should be invalid
"1234567890123456789012345678901234567890123456789012345678901234+x@example.com"
"i_like_underscore@but_its_not_allowed_in_this_part.example.com" -
Suggestion: maybe non-trimmed emails should also be returned as invalid:
" [email protected]"
Maybe these Wikipedia documents are irrelevant for your RFC 5322 and RFC 6532 definitions, but if they are - please double-check.
Thanks and keep up the great work