(self, host='', port=IMAP4_PORT, timeout=None)
Setup connection to remote server on "host:port"
            (default: localhost:standard IMAP4 port).
        This connection will be used by the routines:
            read, readline, send, shutdown.
Setup connection to remote server on "host:port"
            (default: localhost:standard IMAP4 port).
        This connection will be used by the routines:
            read, readline, send, shutdown.
Setup connection to remote server on host : port ( default : localhost : standard IMAP4 port ) . This connection will be used by the routines : read readline send shutdown .
def open(self, host='', port=IMAP4_PORT, timeout=None):
        """Setup connection to remote server on "host:port"
            (default: localhost:standard IMAP4 port).
        This connection will be used by the routines:
            read, readline, send, shutdown.
        """
        self.host = host
        self.port = port
        self.sock = self._create_socket(timeout)
        self.file = self.sock.makefile('rb')
def open ( self , host = '' , port = IMAP4_PORT , timeout = None ) : self . host = host self . port = port self . sock = self . _create_socket ( timeout ) self . file = self . sock . makefile ( 'rb' )