twisted.mail.test.test_smtp.BrokenMessage(object) class documentationtwisted.mail.test.test_smtp
(View In Hierarchy)
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. |
Handle end of message.
return a deferred. The deferred should be called with either: callback(string) or errback(error)
| Returns | (type: Deferred) | |