Discussion

Dear devs: Plus signs are valid

I have been trying to use a '+' sign in my e-mails to separate accounts into aliased folders for a few months now, and about half of all services that accept an e-mail address think that the plus sign is an illegal character. It's not!

If you implement an e-mail validator, please follow the RFCs and don't just throw together a regex that you think looks good. Here are some pages explaining the RFCs:

- https://jkorpela.fi/rfc/822addr.html

- https://www.mailboxvalidator.com/resources/articles/acceptable-email-address-syntax-rfc/

9 points 0xbadcafebee 5 years ago 9 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton