GNU Info

Info Node: (python2.1-lib.info)Mailbox Objects

(python2.1-lib.info)Mailbox Objects


Prev: mailbox Up: mailbox
Enter node , (file) or (file)node

Mailbox Objects
---------------

All implementations of Mailbox objects have one externally visible
method:

`next()'
     Return the next message in the mailbox, created with the optional
     FACTORY argument passed into the mailbox object's constructor.  By
     defaul this is an `rfc822.Message' object (see the `rfc822'
     module).  Depending on the mailbox implementation the FP attribute
     of this object may be a true file object or a class instance
     simulating a file object, taking care of things like message
     boundaries if multiple mail messages are contained in a single
     file, etc.  If no more messages are available, this method returns
     `None'.


automatically generated by info2www version 1.2.2.9