mh objects





12.15.1 MH Objects

















Python Library Reference




Previous: 12.15 mhlib
Up: 12.15 mhlib
Next: 12.15.2 Folder Objects





12.15.1 MH Objects



MH instances have the following methods:


error (format[, ...])

Print an error message - can be overridden.



getprofile (key)

Return a profile entry (None if not set).



getpath ()

Return the mailbox pathname.



getcontext ()

Return the current folder name.



setcontext (name)

Set the current folder name.



listfolders ()

Return a list of top-level folders.



listallfolders ()

Return a list of all folders.



listsubfolders (name)

Return a list of direct subfolders of the given folder.



listallsubfolders (name)

Return a list of all subfolders of the given folder.



makefolder (name)

Create a new folder.



deletefolder (name)

Delete a folder - must have no subfolders.



openfolder (name)

Return a new open folder object.









Python Library Reference




Previous: 12.15 mhlib
Up: 12.15 mhlib
Next: 12.15.2 Folder Objects



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





Wyszukiwarka

Podobne podstrony:
mh folder objects
mh message objects
stream writer objects
ObjectImpl
function hwapi object remove
110 Amazing Magic Tricks With Everyday Objects
function pg fetch object
Object
subject object questions
Object
bltin code objects
PrettyPrinter Objects
content handler objects
ObjectStreamField
event objects
craft objects

więcej podobnych podstron