MCPcopy Index your code
hub / github.com/python/cpython / docmd

Method docmd

Lib/smtplib.py:436–439  ·  view source on GitHub ↗

Send a command, and return its response code.

(self, cmd, args="")

Source from the content-addressed store, hash-verified

434 return errcode, errmsg
435
436 def docmd(self, cmd, args=""):
437 """Send a command, and return its response code."""
438 self.putcmd(cmd, args)
439 return self.getreply()
440
441 # std smtp commands
442 def helo(self, name=''):

Callers 6

__exit__Method · 0.95
rsetMethod · 0.95
noopMethod · 0.95
authMethod · 0.95
starttlsMethod · 0.95
quitMethod · 0.95

Calls 2

putcmdMethod · 0.95
getreplyMethod · 0.95

Tested by

no test coverage detected