From: Vidar Hokstad Date: 2008-01-30T00:49:58+09:00 Subject: Re: Treetop Email Parser On Jan 28, 10:22 pm, Phrogz wrote: > The only 'cheat' I did was to omit any of the branches of the grammar > that were marked as obsolete (and yet included?) in the spec. The "obsolete" productions were not obsolete in RFC 822, and hence there may still be a significant number of clients out there _capable_ of emitting e-mail addresses using that syntax. However, in practice, most clients generate a very limited subset of RFC 822 and/or RFC 2822 compliant addresses - it's likely safe to ignore the obsolete rules. 8-9 years ago, when I used to run a webmail system with 1-2 million accounts, we didn't even bother trying to parse the full RFC as we never saw e-mail coming in using the more "exotic" features, such as nested comments or quoted local parts. Vidar