Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

* Because users often miss a character like a dot or an @, and catching that early saves a lot of pain with undelivered confirmation e-mails and so on.


Kicksend has a library for that: https://github.com/kicksend/mailcheck

I actually think that this library functions as a really great client-side validation that won't get you tripped up in trying to be RFC compliant. There's really not anything more that I'd do aside from sending that blessed confirmation email.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: