This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients
Date 2001-04-11.16:20:03
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=12800

What is actually happening is that the mailbox module is
returning only the headers in the "visible" message, and in
your examples, the Message-ID is only in the original
headers.

Babyl's a weird format in that for each message, you have
all the original headers, which appear before the EOOH line,
and then a subset of those headers, called the "visible"
headers.  This is all the headers that a Babyl compliant
mail reader will show you.

I think it's fine for mailbox to return a mail message
containing only the visible headers.  You'll have to custom
parse a Babyl mailbox file to get at the original headers.

Attached is a suggested change to the mailbox module's
documentation to explain this.  I'm bumping this bug report
over to Fred because it's now a documentation issue, as I
don't believe the mailbox.py module should be changed.
History
Date User Action Args
2007-08-23 13:53:45adminlinkissue412230 messages
2007-08-23 13:53:45admincreate