Outbound Wiki

Article

The 100% correct way to validate email addresses - Medium

david-gilbertson.medium.com

Open at publisher

Quoted on this wiki

Every place a page here uses this source, in the order the words come in it.

  1. [epiphany] I fail and be told my address isn’t valid when it is! So what are the odds that any one typo would result in an invalid email address? We will build a statistical model! Let’s look at, say, the ‘g’. I am more likely to mis-type with a letter on the visible keyboard with no shift key required (I apply a weighting to non-modified keys in the model). From all of the tappable keys on a physical keyboard, there are six characters that, while not completely invalid, are only valid in certain cases: []\;, and space. 6 out of 48. A 12% chance.

    In Verification result handling