Known implementations: twisted.mail.alias.FileWrapper, twisted.mail.alias.MessageWrapper, twisted.mail.alias.MultiWrapper, twisted.mail.mail.FileMessage

Interface definition for messages that can be sent via SMTP.

Method lineReceived Handle another line.
Method eomReceived Handle end of message.
Method connectionLost Handle message truncated.
def lineReceived(line): (source)

Handle another line.

def eomReceived(): (source)

Handle end of message.

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

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

Handle message truncated.

semantics should be to discard the message

API Documentation for Twisted, generated by pydoctor at 2018-10-15 19:29:43.