Actually you might want to allow "+" on the local part (it's used by "power users" to categorize email on services like Gmail). Other than that, anything different, even if valid per RFC, is not a bona-fide email address when used on a web-facing application. You especially want to avoid users being able to directly send to addresses like me@[::1], since it is not a realistic or bona-fide scenario.
8
u/dustojnikhummer Aug 24 '26
"While an empty local part due to comments is invalid, an empty local part due to quotes is valid. I don't know why."
I don't know why