twisted.mail.test.test_smtp.DummySMTP(DummyProto, smtp.SMTP)
class documentationtwisted.mail.test.test_smtp
(View In Hierarchy)
Inherited from DummyProto:
Method | connectionMade | Undocumented |
Method | receivedHeader | Undocumented |
Method | validateTo | Undocumented |
Method | validateFrom | Undocumented |
Inherited from SMTP:
Instance Variable | host 0 | The hostname of this mail server. (type: bytes ) |
Method | __init__ | Undocumented |
Method | host 1 | Undocumented |
Method | host | Undocumented |
Method | timeoutConnection | Called when the connection times out. |
Method | greeting | Undocumented |
Method | connectionMade | Called when a connection is made. |
Method | sendCode | Send an SMTP code with a message. |
Method | lineReceived | Override this for when each line is received. |
Method | state_COMMAND | Undocumented |
Method | sendSyntaxError | Undocumented |
Method | lookupMethod | |
Method | lineLengthExceeded | Called when the maximum line length has been reached. Override if it needs to be dealt with in some special way. |
Method | do_UNKNOWN | Undocumented |
Method | do_HELO | Undocumented |
Method | do_QUIT | Undocumented |
Method | do_MAIL | Undocumented |
Method | do_RCPT | Undocumented |
Method | do_DATA | Undocumented |
Method | connectionLost | Called when the connection is shut down. |
Method | do_RSET | Undocumented |
Method | dataLineReceived | Undocumented |
Method | validateFrom | Validate the address from which the message originates. |
Method | validateTo | Validate the address for which the message is destined. |
Method | receivedHeader | Undocumented |
Method | _cbFromValidate | Undocumented |
Method | _ebFromValidate | Undocumented |
Method | _cbToValidate | Undocumented |
Method | _ebToValidate | Undocumented |
Method | _disconnect | Undocumented |
Method | _messageHandled | Undocumented |
Method | _cbAnonymousAuthentication | Save the state resulting from a successful anonymous cred login. |
Inherited from LineOnlyReceiver (via SMTP):
Class Variable | delimiter | The line-ending delimiter to use. By default this is b'\r\n' . |
Class Variable | MAX_LENGTH | The maximum length of a line to allow (If a sent line is longer than this, the connection is dropped). Default is 16384. |
Method | dataReceived | Translates bytes into lines, and calls lineReceived. |
Method | sendLine | Sends a line to the other end of the connection. |
Inherited from Protocol (via SMTP, LineOnlyReceiver):
Method | logPrefix | Return a prefix matching the class name, to identify log messages related to this protocol instance. |
Inherited from BaseProtocol (via SMTP, LineOnlyReceiver, Protocol):
Method | makeConnection | Make a connection to a transport and a server. |
Inherited from TimeoutMixin (via SMTP):
Class Variable | timeOut | The number of seconds after which to timeout the connection. |
Method | callLater | Wrapper around reactor.callLater
for test purpose. |
Method | resetTimeout | Reset the timeout count down. |
Method | setTimeout | Change the timeout period |
Method | __timedOut | Undocumented |