twisted.mail.imap4._MultipartMessageStructure(_MessageStructure)
class documentationtwisted.mail.imap4
View Source
(View In Hierarchy)
_MultipartMessageStructure
represents the message structure of a multipart/* message.
Method | __init__ | |
Method | encode | Encode each sub-message and added the additional multipart fields. |
Method | _getParts | Return an iterator over all of the sub-messages of this message. |
Method | _extended | The extension data of a multipart body part are in the following order: |
Inherited from _MessageStructure:
Method | _disposition | Parse a Content-Disposition header into a two-sequence of the disposition and a flattened list of its parameters. |
Method | _unquotedAttrs |
Parameters | message | An IMessagePart
provider which this structure object reports on. |
subtype | A str
giving the MIME subtype of the message (for example,
"plain" ). | |
attrs | A dict giving the parameters of the Content-Type header
of the message. |
Encode each sub-message and added the additional multipart fields.
The extension data of a multipart body part are in the following order: