class documentation
class FakeyMessage(util.FancyStrMixin): (source)
Implements interfaces: twisted.mail.interfaces.IMessageIMAP
Undocumented
Method | __init__ |
Undocumented |
Method | get |
Retrieve a file object containing only the body of this message. |
Method | get |
Retrieve the flags associated with this message. |
Method | get |
Retrieve a group of message headers. |
Method | get |
Retrieve the date internally associated with this message. |
Method | get |
Retrieve the total size, in octets, of this message. |
Method | get |
Retrieve a MIME sub-message |
Method | get |
Retrieve the unique identifier associated with this message. |
Method | is |
Indicate whether this message has subparts. |
Class Variable | show |
Undocumented |
Instance Variable | date |
Undocumented |
Instance Variable | flags |
Undocumented |
Instance Variable | got |
Undocumented |
Instance Variable | got |
Undocumented |
Instance Variable | headers |
Undocumented |
Instance Variable | size |
Undocumented |
Instance Variable | subpart |
Undocumented |
Instance Variable | uid |
Undocumented |
Instance Variable | _body |
Undocumented |
Inherited from FancyStrMixin
:
Method | __str__ |
Undocumented |
Retrieve a group of message headers.
Parameters | |
negate:bool | If True, indicates that the headers listed in names should be omitted from the return value, rather than included. |
*names:tuple of str | The names of the headers to retrieve or omit. |
Returns | |
dict | A mapping of header field names to header field values |
Retrieve the date internally associated with this message.
Returns | |
bytes | An RFC822-formatted date string. |
Retrieve a MIME sub-message
Parameters | |
part:int | The number of the part to retrieve, indexed from 0. |
Returns | |
Any object implementing IMessageIMAPPart . | The specified sub-part. |
Raises | |
IndexError | Raised if the specified part does not exist. |
TypeError | Raised if this message is not multipart. |