MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / starttls

Method starttls

Lib/smtplib.py:618–652  ·  view source on GitHub ↗

Puts the connection to the SMTP server into TLS mode. If there has been no previous EHLO or HELO command this session, this method tries ESMTP EHLO first. If the server supports TLS, this will encrypt the rest of the SMTP session. If you provide the keyfile and cert

(self, keyfile=None, certfile=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

emitMethod · 0.95

Calls 5

has_extnMethod · 0.95
docmdMethod · 0.95
SMTPExceptionClass · 0.85
SSLFakeFileClass · 0.85

Tested by

no test coverage detected