module mailbox





12.14 mailbox -- Read various mailbox formats

















Python Library Reference




Previous: 12.13 quopri
Up: 12. Internet Data Handling
Next: 12.14.1 Mailbox Objects




12.14 mailbox --
Read various mailbox formats






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.
The file object fp points 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. The file object fp points to the mailbox file.



MHMailbox (dirname)

Access an MH mailbox, a directory with each message in a separate
file with a numeric name.
The name of the mailbox directory is passed in dirname.



Maildir (dirname)

Access a Qmail mail directory. All new and current mail for the
mailbox specified by dirname is made available.



BabylMailbox (fp)

Access a Babyl mailbox, which is similar to an MMDF mailbox. Mail
messages start with a line containing only '*** EOOH ***' and
end with a line containing only '\037\014'.






Subsections


12.14.1 Mailbox Objects








Python Library Reference




Previous: 12.13 quopri
Up: 12. Internet Data Handling
Next: 12.14.1 Mailbox Objects



See About this document... for information on suggesting changes.





Wyszukiwarka

Podobne podstrony:
module al constants
function mcrypt module get algo key size
CISCO CCNA Certifications CCNA 2 Module 6
module zipfile
module files
module sunaudiodev
Module HOWTO pl (3)
module pprint
Book 5 module 3 test A
module Queue
module cursesascii
module tabnanny
module fileinput
01 52 Check control module 01
module files

więcej podobnych podstron