Module mailbox :: Class BabylMessage
[hide private]
[frames] | no frames]

_ClassType BabylMessage

email.message.Message --+    
                        |    
                  Message --+
                            |
                           BabylMessage

Message with Babyl-specific properties.

Instance Methods [hide private]
 
__init__(self, message=None)
Initialize an BabylMessage instance.
 
get_labels(self)
Return a list of labels on the message.
 
set_labels(self, labels)
Set the list of labels on the message.
 
add_label(self, label)
Add label to list of labels on the message.
 
remove_label(self, label)
Remove label from the list of labels on the message.
 
get_visible(self)
Return a Message representation of visible headers.
 
set_visible(self, visible)
Set the Message representation of visible headers.
 
update_visible(self)
Update and/or sensibly generate a set of visible headers.
 
_explain_to(self, message)
Copy Babyl-specific state to message insofar as possible.

Inherited from Message (private): _become_message

Inherited from email.message.Message: __contains__, __delitem__, __getitem__, __len__, __setitem__, __str__, add_header, as_string, attach, del_param, get, get_all, get_boundary, get_charset, get_charsets, get_content_charset, get_content_maintype, get_content_subtype, get_content_type, get_default_type, get_filename, get_param, get_params, get_payload, get_unixfrom, has_key, is_multipart, items, keys, replace_header, set_boundary, set_charset, set_default_type, set_param, set_payload, set_type, set_unixfrom, values

Inherited from email.message.Message (private): _get_params_preserve

Imports: walk


Method Details [hide private]

__init__(self, message=None)
(Constructor)

 

Initialize an BabylMessage instance.

Overrides: email.message.Message.__init__

_explain_to(self, message)

 

Copy Babyl-specific state to message insofar as possible.

Overrides: Message._explain_to