PyDocs

Nav

Internet Protocols and Support

IMAP4.starttls

imaplib

method of IMAP4 · Added in 3.2 (source) not WASI
  • IMAP4.starttls(ssl_context=None)
Send a STARTTLS command. The ssl_context argument is optional and should be a ssl.SSLContext object. This will enable encryption on the IMAP connection. Please read Security considerations for best practices.
Changed in 3.4
  • 3.4: The method now supports hostname check with ssl.SSLContext.check_hostname and Server Name Indication (see ssl.HAS_SNI).
0 Examples
No examples for imaplib/IMAP4.starttls.
See Also
No see-alsos for imaplib/IMAP4.starttls
0 Notes
No notes for IMAP4.starttls