parsingtestingrfc2822

RFC 2822 email address parsing - any good list of test cases?


I'm developing an RFC 2822 address parser (not a validator), and was wondering if anyone knew of a good list of test cases that exercises corner cases that might crop up? The specification of the address format is quite complex, and I'm not convinced I understand it fully enough to be certain of identifying all of the odd cases that could crop up.

For the sake of clarity, I'm talking about addresses as they might appear in header lines, so stuff like comments in odd places is the kind of issue I'm thinking about.


Solution

  • I found this during my quest for the same:

    http://isemail.info/_system/is_email/test/?all

    Hope this helps.