twisted.mail.alias.AddressAlias(AliasBase) class documentationtwisted.mail.alias
(View In Hierarchy)
Implements interfaces: twisted.mail.interfaces.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 AddressAliasinstance. | 
| 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: IMessageprovider) | |
Map this alias to its ultimate destination.
| Parameters | aliasmap | A mapping of username to alias or group of aliases. (type: dictmappingbytestoAliasBase) | 
| memo | A record of the aliases already considered in the resolution process.  If 
provided, memois modified to include this alias. (type:NoneordictofAliasBase) | |
| Returns | A message receiver for the ultimate destination or None for an invalid 
destination. (type: IMessageorNone) | |