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

Method docmd

tools/python-3.11.9-amd64/Lib/smtplib.py:429–432  ·  view source on GitHub ↗

Send a command, and return its response code.

(self, cmd, args="")

Source from the content-addressed store, hash-verified

427 return errcode, errmsg
428
429 def docmd(self, cmd, args=""):
430 """Send a command, and return its response code."""
431 self.putcmd(cmd, args)
432 return self.getreply()
433
434 # std smtp commands
435 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