(self, capability)
return typ, data
Send an RFC5161 enable string to the server.

        (typ, [data]) = <instance>.enable(capability)
Send an RFC5161 enable string to the server.
Send an RFC5161 enable string to the server .
def enable(self, capability):
        """Send an RFC5161 enable string to the server.

        (typ, [data]) = <instance>.enable(capability)
        """
        if 'ENABLE' not in self.capabilities:
            raise IMAP4.error("Server does not support ENABLE")
        typ, data = self._simple_command('ENABLE', capability)
        if typ == 'OK' and 'UTF8=ACCEPT' in capability.upper():
            self._mode_utf8()
        return typ, data
def enable ( self , capability ) : if 'ENABLE' not in self . capabilities : raise IMAP4 . error ( "Server does not support ENABLE" ) typ , data = self . _simple_command ( 'ENABLE' , capability ) if typ == 'OK' and 'UTF8=ACCEPT' in capability . upper ( ) : self . _mode_utf8 ( ) return typ , data