class FileWrapper: (source)
Implements interfaces: twisted.mail.interfaces.IMessageSMTP
Method | __init__ |
|
Method | __str__ |
Build a string representation of this FileWrapper instance. |
Method | connectionLost |
Close the temporary file when the connection is lost. |
Method | eomReceived |
Handle end of message by writing the message to the file. |
Method | lineReceived |
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. |
FileWrapper
instance.Returns | |
bytes | A string containing the file name of the message. |