class documentation
class MaildirMessage(mail.FileMessage): (source)
Constructor: MaildirMessage(address, fp, *a, **kw)
A message receiver which adds a header and delivers a message to a file whose name includes the size of the message.
Method | __init__ |
No summary |
Method | eom |
At the end of message, rename the file holding the message to its final name concatenated with the size of the file. |
Method | line |
Write a line to the file. |
Instance Variable | final |
Undocumented |
Instance Variable | size |
The number of octets in the message. |
Inherited from FileMessage
:
Method | connection |
Delete the file holding the partially received message. |
Instance Variable | fp |
See __init__ . |
Instance Variable | name |
See __init__ . |
overrides
twisted.mail.mail.FileMessage.__init__
Parameters | |
address:bytes | The address of the message recipient. |
fp:file-like object | The file in which to store the message while it is being received. |
*a:2-tuple of (0) bytes , (1) bytes | Positional arguments for FileMessage.__init__ . |
**kw:dict | Keyword arguments for FileMessage.__init__ . |