twisted.mail.test.test_mail.MockAliasGroup(mail.alias.AliasGroup)
class documentationtwisted.mail.test.test_mail
(View In Hierarchy)
An alias group using MockProcessAlias
.
Inherited from AliasGroup:
Instance Variable | processAliasFactory | A factory for process aliases. (type: no-argument callable which returns ProcessAlias ) |
Instance Variable | aliases | The destination aliases. (type: list
of AliasBase
which implements IAlias ) |
Method | __init__ | Create a group of aliases. |
Method | __len__ | Return the number of aliases in the group. |
Method | __str__ | Build a string representation of this AliasGroup
instance. |
Method | createMessageReceiver | Create a message receiver for each alias and return a message receiver which will pass on a message to each of those. |
Method | resolve | Map each of the aliases in the group to its ultimate destination. |
Inherited from AliasBase (via AliasGroup):
Instance Variable | domains | See __init__ . |
Instance Variable | original | The original address being aliased. (type: Address ) |
Method | domain | Return the domain associated with original address. |