summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-04-11 20:12:33 (GMT)
committerBarry Warsaw <barry@python.org>2001-04-11 20:12:33 (GMT)
commitc3cbbaf51380bc31623af01226c4aac4b9da848c (patch)
tree5085f01a21c697da4dee3ae8cfb53acff5b6928a /Doc
parenteedf985056b8837677c3d839e5858aa88ff9b92b (diff)
downloadcpython-c3cbbaf51380bc31623af01226c4aac4b9da848c.zip
cpython-c3cbbaf51380bc31623af01226c4aac4b9da848c.tar.gz
cpython-c3cbbaf51380bc31623af01226c4aac4b9da848c.tar.bz2
Added some additional documentation describing how BabylMailbox
actually works (it returns a message containing the visible headers, not the original headers). Doc change approved by Fred; closes SF bug #412230.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libmailbox.tex16
1 files changed, 12 insertions, 4 deletions
diff --git a/Doc/lib/libmailbox.tex b/Doc/lib/libmailbox.tex
index e74848b..9047a61 100644
--- a/Doc/lib/libmailbox.tex
+++ b/Doc/lib/libmailbox.tex
@@ -69,10 +69,18 @@ mailbox specified by \var{dirname} is made available.
\end{classdesc}
\begin{classdesc}{BabylMailbox}{fp\optional{, factory}}
-Access a Babyl mailbox, which is similar to an MMDF mailbox. Mail
-messages start with a line containing only \code{'*** EOOH ***'} and
-end with a line containing only \code{'\e{}037\e{}014'}.
-\var{factory} is as with the \class{UnixMailbox} class.
+Access a Babyl mailbox, which is similar to an MMDF mailbox. In
+Babyl format, each message has two sets of headers, the
+\emph{original} headers and the \emph{visible} headers. The original
+headers appear before a a line containing only \code{'*** EOOH ***'}
+(End-Of-Original-Headers) and the visible headers appear after the
+\code{EOOH} line. Babyl-compliant mail readers will show you only the
+visible headers, and \class{BabylMailbox} objects will return messages
+containing only the visible headers. You'll have to do your own
+parsing of the mailbox file to get at the original headers. Mail
+messages start with the EOOH line and end with a line containing only
+\code{'\e{}037\e{}014'}. \var{factory} is as with the
+\class{UnixMailbox} class.
\end{classdesc}