interface documentation

class twisted.mail.interfaces.IMailboxIMAPInfo(Interface): (source)

Known subclasses: twisted.mail.interfaces.IMailboxIMAP

View In Hierarchy

Interface specifying only the methods required for listMailboxes.

Implementations can return objects implementing only these methods for return to listMailboxes if it can allow them to operate more efficiently.

Method getFlags Return the flags defined in this mailbox
Method getHierarchicalDelimiter Get the character which delimits namespaces for in this mailbox.
def getFlags(): (source)

Return the flags defined in this mailbox

Flags with the \ prefix are reserved for use as system flags.

ReturnsA list of the flags that can be set on messages in this mailbox. (type: list of str)
def getHierarchicalDelimiter(): (source)

Get the character which delimits namespaces for in this mailbox.

ReturnsUndocumented (type: bytes)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.