Test cases for twisted.mail.smtp module.

Function spameater Undocumented
Class BrokenMessage 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.
Class DummyMessage BrokenMessage is an IMessage which saves the message delivered to it to its domain object.
Class DummyDomain DummyDomain is an IDomain which keeps track of messages delivered to it in memory.
Class MyClient Undocumented
Class MySMTPClient Undocumented
Class MyESMTPClient Undocumented
Class LoopbackMixin Undocumented
Class FakeSMTPServer Undocumented
Class SMTPClientTests Tests for smtp.SMTPClient.
Class DummySMTPMessage Undocumented
Class DummyProto Undocumented
Class DummySMTP Undocumented
Class DummyESMTP Undocumented
Class AnotherTestCase No class docstring; 1/1 methods documented
Class AnotherESMTPTests Undocumented
Class AnotherSMTPTests Undocumented
Class DummyChecker Undocumented
Class SimpleDelivery SimpleDelivery is a message delivery factory with no interesting behavior.
Class DummyRealm Undocumented
Class AuthTests No class docstring; 3/3 methods documented
Class SMTPHelperTests No class docstring; 2/6 methods documented
Class NoticeTLSClient Undocumented
Class TLSTests Undocumented
Class EmptyLineTests No class docstring; 1/1 methods documented
Class TimeoutTests Check that SMTP client factories correctly use the timeout.
Class MultipleDeliveryFactorySMTPServerFactory No summary
Class SMTPSenderFactoryTests Tests for smtp.SMTPSenderFactory.
Class SMTPSenderFactoryRetryTests Tests for the retry behavior of smtp.SMTPSenderFactory.
Class SingletonRealm Trivial realm implementation which is constructed with an interface and an avatar and returns that avatar when asked for that interface.
Class NotImplementedDelivery Non-implementation of smtp.IMessageDelivery which only has methods which raise NotImplementedError. Subclassed by various tests to provide the particular behavior being tested.
Class SMTPServerTests Test various behaviors of twisted.mail.smtp.SMTP and twisted.mail.smtp.ESMTP.
Class ESMTPAuthenticationTests No class docstring; 12/13 methods documented
Class SMTPClientErrorTests Tests for smtp.SMTPClientError.
Class SenderMixinSentMailTests Tests for smtp.SenderMixin.sentMail, used in particular by smtp.SMTPSenderFactory and smtp.ESMTPSenderFactory.
Class ESMTPDowngradeTestCase Tests for the ESMTP -> SMTP downgrade functionality in smtp.ESMTPClient.
Class SSLTestCase Tests for the TLS negotiation done by smtp.ESMTPClient.
Class AbortableStringTransport A version of StringTransport that supports abortConnection.
Class SendmailTests Tests for twisted.mail.smtp.sendmail.
def spameater(*spam, **eggs):
Undocumented
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.