class documentation
class FileWrapper: (source)
Implements interfaces: twisted.mail.interfaces.IMessageSMTP
A message receiver which delivers a message to a file.
Method | __init__ |
No summary |
Method | __str__ |
Build a string representation of this FileWrapper instance. |
Method | connection |
Close the temporary file when the connection is lost. |
Method | eom |
Handle end of message by writing the message to the file. |
Method | line |
Write a received line to the temporary file. |
Instance Variable | finalname |
The name of the file in which the message should be stored. |
Instance Variable | fp |
A file used for temporary storage of the message. |
Build a string representation of this FileWrapper
instance.
Returns | |
bytes | A string containing the file name of the message. |