Re:Complexities of e-mail validation logic
by eli on Monday May 24, 2021 @04:33PM
(#27269366)
There's also incredibly low stakes in allowing a technically-invalid email address to pass validation. Just use a very permissive pattern (e.g. contains an '@') and be done with it.
No matter what you will constantly be getting addresses that conform to the spec but cannot actually receive mail.
No matter what you will constantly be getting addresses that conform to the spec but cannot actually receive mail.