[phobos] Validating email addresses
Sean Kelly
sean at invisibleduck.org
Thu Feb 17 14:38:16 PST 2011
On Feb 17, 2011, at 11:18 AM, Walter Bright wrote:
>
> Sean Kelly wrote:
>> Does it extract the address and the full name as well? Simply validating something as an email address isn't terribly useful.
>>
>
> Terribly useful, maybe not. But it is useful in that:
>
> 1. lots of code does email validation, and most do it wrong
Yup. And that's the real problem. None of the top 5 mail apps/services implement their encoding the same way, and all of them fail RFC compliance in different ways. But users expect email sent from those services to be accepted and display correctly. D. Sayers really seems to know his stuff though, and I'd love to see things become more RFC-compliant so I certainly wouldn't object to this addition. And to be fair, I'll admit that the major compliance issues I've run into with email addresses are RFCs 2047 and 2231.
More information about the phobos
mailing list