twisted.mail.interfaces.IMessageSMTP(Interface)
interface documentationtwisted.mail.interfaces
(View In Hierarchy)
Known implementations: twisted.mail.alias.FileWrapper, twisted.mail.alias.MessageWrapper, twisted.mail.alias.MultiWrapper, twisted.mail.mail.FileMessage, twisted.mail.test.test_smtp.BrokenMessage
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. |
Handle end of message.
return a deferred. The deferred should be called with either: callback(string) or errback(error)
Returns | (type: Deferred ) |