Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`mail`.`relaymanager`.`ManagedRelayerMixin``

class documentation

`class ManagedRelayerMixin: (source)`

Known subclasses: `twisted.mail.relaymanager.ESMTPManagedRelayer`, `twisted.mail.relaymanager.SMTPManagedRelayer`

Constructor: `ManagedRelayerMixin(manager)`

View In Hierarchy

SMTP Relayer which notifies a manager

Notify the manager about successful mail, failed mail and broken connections

Method | `__init__` | Undocumented
Method | `connectionLost` | called when connection is broken
Method | `factory.setter` | Undocumented
Method | `sentMail` | called when e-mail has been sent
Instance Variable | `manager` | Undocumented
Property | `factory` | Undocumented
Instance Variable | `_factory` | Undocumented

def __init__(self, manager): (source)
overridden in `twisted.mail.relaymanager.ESMTPManagedRelayer`, `twisted.mail.relaymanager.SMTPManagedRelayer`

Undocumented

def connectionLost(self, reason: `Failure` = connectionDone): (source)

called when connection is broken

notify manager we will try to send no more e-mail

@factory.setter
def factory(self, value): (source)

Undocumented

def sentMail(self, code, resp, numOk, addresses, log): (source)

called when e-mail has been sent

we will always get 0 or 1 addresses.

manager = (source)

Undocumented

@property
factory = (source)
overridden in `twisted.mail.relaymanager.SMTPManagedRelayer`

Undocumented

_factory = (source)

Undocumented