MCPcopy Create free account
hub / github.com/RobinMeis/MITMsmtp / writeLine

Method writeLine

MITMsmtp/SMTPHandler.py:32–35  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

30 @type line: str
31 """
32 def writeLine(self, line):
33 if (self.server.printLines):
34 print("S:" + line)
35 self.connection.sendall((line + '\r\n').encode("ASCII"))
36
37 """
38 Handles a new TCP Connection to SMTPServer following SMTP Protocol

Callers 11

sendGreetingMethod · 0.95
sendHELLOMethod · 0.95
STARTTLSMethod · 0.95
sendAuthTypesMethod · 0.95
sendOKMethod · 0.95
sendIntermediateMethod · 0.95
requestUsernameMethod · 0.80
requestPasswordMethod · 0.80
acceptAuthMethod · 0.80
authMethod · 0.80
authSuccessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected