# 11.22 Standard Module `mailbox`

This module defines a number of classes that allow easy and uniform access to mail messages in a (unix) mailbox.

`UnixMailbox` (fp)
  Access a classic unix-style mailbox, where all messages are contained in a single file and separated by ``From name time'' lines. Fp is the file object pointing to the mailbox file.

`MmdfMailbox` (fp)
  Access an MMDF-style mailbox, where all messages are contained in a single file and separated by lines consisting of 4 control-A characters. Fp is the file object pointing to the mailbox file.

`MHMailbox` (dirname)
  Access an MH mailbox, a directory with each message in a separate file with a numeric name. Dirname is the name of the mailbox directory.

- 11.22.1 Mailbox Objects