twisted.mail.mail.FileMessage class documentationtwisted.mail.mail
View Source
(View In Hierarchy)
Known subclasses: twisted.mail.maildir.MaildirMessage
Implements interfaces: twisted.mail.interfaces.IMessageSMTP
A message receiver which delivers a message to a file.
| Instance Variable | fp | See __init__. |
| Instance Variable | name | See __init__. |
| Instance Variable | finalName | See __init__. |
| Method | __init__ | |
| Method | lineReceived | Write a received line to the file. |
| Method | eomReceived | At the end of message, rename the file holding the message to its final name. |
| Method | connectionLost | Delete the file holding the partially received message. |
Write a received line to the file.
| Parameters | line | A received line. (type: bytes) |