Send a command, and return its response code.
(self, cmd, args="")
| 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=''): |