Skip to content

Comment on Mailcheck.js - How we decreased sign up confirmation email bounces by 50%parent

Comments

Just doing DNS checks might not be enough:

`$ dig hotnail.com MX` yields results but is still invalid.

Well, technically, it's valid; it's just unlikely to be what you meant to type. That sort of case should probably be handled separately.

Well worth noting: auto-correcting the email addresses would be a very bad idea; ditto for stopping them from submitting the form if this is triggered.

But just showing a little note "are you sure you didn't mean username@gmail.com", then letting them submit anyway, isn't generally annoying even for misfires.

Because there actually are going to be occasional users who mistype "ymail.com" when they mean gmail. Hey, thanks for the warning; the y is right near the g.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.