class FileMessage: (source)
Known subclasses: twisted.mail.maildir.MaildirMessage
Implements interfaces: twisted.mail.interfaces.IMessageSMTP
Method | __init__ |
|
Method | connectionLost |
Delete the file holding the partially received message. |
Method | eomReceived |
At the end of message, rename the file holding the message to its final name. |
Method | lineReceived |
Write a received line to the file. |
Instance Variable | finalName |
See __init__ . |
Instance Variable | fp |
See __init__ . |
Instance Variable | name |
See __init__ . |
twisted.mail.maildir.MaildirMessage
Parameters | |
fp:file-like object | The file in which to store the message while it is being received. |
name:bytes | The full path name of the temporary file. |
finalName:bytes | The full path name that should be given to the file holding the message after it has been fully received. |
twisted.mail.maildir.MaildirMessage
Returns | |
Deferred which successfully results in bytes | A deferred which returns the final name of the file. |
twisted.mail.maildir.MaildirMessage
Parameters | |
line:bytes | A received line. |