4 ms·
This kind of stuff is great - make suggestions, but allow it to go through even if you think it's wrong. For the last email validation I worked on, there were
by thedufer 11y ago
This kind of stuff is great - make suggestions, but allow it to go through even if you think it's wrong. For the last email validation I worked on, there were only 2 absolute blockers - there must be an @ sign, and the domain must have MX records (emails that are technically valid remain useless if we can't send them anything).
There were a number of other checks (being close to yahoo.com or gmail.com or other common email hosts, containing surprising characters, etc) that would trigger warnings, but still allow the check to pass if the user assured us it was correct.
- tyingq 11y ago>>domain must have MX records Technically, the RFC(5321) says MX records aren't required. You may be throwing out some small number of valid emails. "If an empty list of MXs is returned, the address is treated as if it was associated with an implicit MX RR with a preference of 0"