twisted.mail.alias.AddressAlias(AliasBase)
class documentationtwisted.mail.alias
View Source
(View In Hierarchy)
Implements interfaces: twisted.mail.alias.IAlias
An alias which translates one email address into another.
Instance Variable | alias | The destination address. (type: Address ) |
Method | __init__ | |
Method | __str__ | Build a string representation of this AddressAlias
instance. |
Method | createMessageReceiver | Create a message receiver which delivers a message to the destination address. |
Method | resolve | Map this alias to its ultimate destination. |
Inherited from AliasBase:
Instance Variable | domains | See __init__ . |
Instance Variable | original | The original address being aliased. (type: Address ) |
Method | domain | Return the domain associated with original address. |
Build a string representation of this AddressAlias
instance.
Returns | A string containing the destination address. (type: bytes ) |
Create a message receiver which delivers a message to the destination address.
Returns | A message receiver. (type: IMessage
provider) |
Map this alias to its ultimate destination.
Parameters | aliasmap | A mapping of username to alias or group of aliases. (type: dict
mapping bytes
to AliasBase ) |
memo | A record of the aliases already considered in the resolution process. If
provided, memo is modified to include this alias. (type: NoneType
or dict
of AliasBase ) | |
Returns | A message receiver for the ultimate destination or None for an invalid
destination. (type: IMessage or NoneType ) |