GMime.MessagePart¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
message |
r |
child |
|
parent_object |
r |
parent |
Class Details¶
- class GMime.MessagePart(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A message/rfc822 or message/news MIME part.
- classmethod new(subtype)¶
- Parameters:
- Returns:
an empty MIME message part object with a default content-type of message/subtype.
- Return type:
Creates a new MIME message part object with a default content-type of message/subtype.
- classmethod new_with_message(subtype, message)¶
- Parameters:
message (
GMime.Message
) – message
- Returns:
a MIME message part object with a default content-type of message/subtype containing message.
- Return type:
Creates a new MIME message part object with a default content-type of message/subtype containing message.
- get_message()¶
- Returns:
the message part contained within self.
- Return type:
Gets the message object on the message part object self.
- set_message(message)¶
- Parameters:
message (
GMime.Message
) – message
Sets the message object on the message part object self.