Lines Matching defs:host
139 Instantiate with: IMAP4([host[, port[, timeout=None]]])
141 host - host's name (default: localhost);
188 def __init__(self, host='', port=IMAP4_PORT, timeout=None):
202 self.open(host, port, timeout)
292 # Default value of IMAP4.host is '', but socket.getaddrinfo()
294 # as a default value for host.
297 host = None if not self.host else self.host
298 sys.audit("imaplib.open", self, self.host, self.port)
299 address = (host, self.port)
304 def open(self, host='', port=IMAP4_PORT, timeout=None):
305 """Setup connection to remote server on "host:port"
310 self.host = host
823 server_hostname=self.host)
1288 Instantiate with: IMAP4_SSL([host[, port[, keyfile[, certfile[, ssl_context[, timeout=None]]]]]])
1290 host - host's name (default: localhost);
1305 def __init__(self, host='', port=IMAP4_SSL_PORT, keyfile=None,
1323 IMAP4.__init__(self, host, port, timeout)
1328 server_hostname=self.host)
1330 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1331 """Setup connection to remote server on "host:port".
1336 IMAP4.open(self, host, port, timeout)
1358 def open(self, host=None, port=None, timeout=None):
1363 self.host = None # For compatibility with parent class
1568 host = args[0]
1571 PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost"))
1612 M = IMAP4(host)