logoalt Hacker News

christophilustoday at 4:19 AM1 replyview on HN

Honestly, I just validate that it has an @ and then let it through. The actual sender (mailgun, or whatever) can do the dirty work for me.


Replies

Joker_vDtoday at 5:59 AM

    \.{1,100}@\.{1,100}
I'd probably also have a red warning line under the input field for something really fishy and also most common typos (like "gmail.con") but other than that, I'd let it through.
show 3 replies