imaplib.IMAP4_SSL.open

IMAP4_SSL.open(host='', port=993)[source]
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.