Acceptable email address formats
-
I can’t find any documentation about how FusionAuth verifies email addresses - it feels a bit strict, returning a notEmail error for addresses that my SMTP provider (and inbox) will happily accept, e.g.
.name@example.com
,name.@example.com
,name..surname@example.com
.What's going on?
-
We validate using RFC 5322 which defines the local part as a
dot-atom
;“that is, it contains no characters other than atext characters or “.” surrounded by atext characters.
As far as I know the examples given are not valid email addresses. I think the only way you can begin or end an email address with a . is if it is quoted.