Skip to content

light@the.end.of.the.tunnel

by Dominic on February 24th, 2009

Quick links: Source code | Email address validators head-to-head

The amazingly helpful Cal Henderson has nearly caught up in the arms race that is email address validation. After our latest round of discussions we disagree about only one of the 161 test cases in the test suite. Cal’s validator successfully validates all the test cases except that one (and he may be right about it -we’ll see).

I’ve released version 1.3 of my validator and you can download it with the test cases from Google Code.

RFC nerd notes

I had a lesson from Cal on Folding White Space. Who knew that you could have an email address that was split over several lines? Please don’t run out and try this – it’s strictly for completeness.

Secondly, all those validators out there that use RFC2822 as their authority: those are yesterday’s validators. All the cool kids are validating using RFC5322. It’s the latest thing.

Quick links: Source code | Email address validators head-to-head

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS