Yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/mailbox-objects.html

From ZCubes Wiki
Revision as of 19:45, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/module-mailbox.html|[[Image:yurtt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


12.14.1 Mailbox Objects

All implementations of Mailbox objects have one externally visible method:

next ()
Return the next message in the mailbox, as a 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.

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