MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / open

Method open

tools/python-3.11.9-amd64/Lib/imaplib.py:1330–1336  ·  view source on GitHub ↗

Setup connection to remote server on "host:port". (default: localhost:standard IMAP4 SSL port). This connection will be used by the routines: read, readline, send, shutdown.

(self, host='', port=IMAP4_SSL_PORT, timeout=None)

Source from the content-addressed store, hash-verified

1328 server_hostname=self.host)
1329
1330 def open(self, host='', port=IMAP4_SSL_PORT, timeout=None):
1331 """Setup connection to remote server on "host:port".
1332 (default: localhost:standard IMAP4 SSL port).
1333 This connection will be used by the routines:
1334 read, readline, send, shutdown.
1335 """
1336 IMAP4.open(self, host, port, timeout)
1337
1338 __all__.append("IMAP4_SSL")
1339

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected