mail and news header parsers
Tracy Tims (email@example.com)
Fri, 12 Feb 1993 13:26:29 -0500
I also have a python function that can parse rfc822 headers, but it is
designed for parsing general rfc822 forms--news articles, mailboxes,
rfc822 messages, and various distortions of these. It is designed to be
able to recognise the individual messages in a multi-message file, with
a wide variety of header types.
I'm using it as the message-parsing backbone for a message-and-file indexing
system that I'm (slowly) writing.