Implements interfaces: twisted.mail.interfaces.IMessageSMTP

BrokenMessage is an IMessage which raises an unexpected exception from its eomReceived method. This is useful for creating a server which can be used to test client retry behavior.

Method __init__ Undocumented
Method lineReceived Handle another line.
Method eomReceived Handle end of message.
Method connectionLost Handle message truncated.
def __init__(self, user):
Undocumented
def lineReceived(self, line):

Handle another line.

def eomReceived(self):

Handle end of message.

return a deferred. The deferred should be called with either: callback(string) or errback(error)

Returns (type: Deferred)
def connectionLost(self):

Handle message truncated.

semantics should be to discard the message

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.