twisted.mail.alias.FileAlias(AliasBase) class documentationtwisted.mail.alias
View Source
(View In Hierarchy)
Implements interfaces: twisted.mail.interfaces.IAlias
An alias which translates an address to a file.
| Instance Variable | filename | See __init__. |
| Method | __init__ | |
| Method | __str__ | Build a string representation of this FileAlias
instance. |
| Method | createMessageReceiver | Create a message receiver which delivers a message to the file. |
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. |
| Method | resolve | Map this alias to its ultimate destination. |
Create a message receiver which delivers a message to the file.
| Returns | A message receiver which writes a message to the file. (type: FileWrapper) | |