(self, host='', port=143, nossl=False, assertok=None)
Create a imaplib.IMAP4[_SSL] with an assertok method.
Create a imaplib.IMAP4[_SSL] with an assertok method.
Create a imaplib . IMAP4 [ _SSL ] with an assertok method .
def __init__(self, host='', port=143, nossl=False, assertok=None):
        """Create a imaplib.IMAP4[_SSL] with an assertok method."""
        self.assertok = assertok
        self.nossl = nossl
        if nossl:
            self.imap = imaplib.IMAP4(host, port)
        else:
            self.imap = imaplib.IMAP4_SSL(host, port)
def __init__ ( self , host = '' , port = 143 , nossl = False , assertok = None ) : self . assertok = assertok self . nossl = nossl if nossl : self . imap = imaplib . IMAP4 ( host , port ) else : self . imap = imaplib . IMAP4_SSL ( host , port )