Message with Maildir-specific properties.
|
|
__init__(self,
message=None)
Initialize a MaildirMessage instance. |
|
|
|
|
get_subdir(self)
Return 'new' or 'cur'. |
|
|
|
|
set_subdir(self,
subdir)
Set subdir to 'new' or 'cur'. |
|
|
|
|
get_flags(self)
Return as a string the flags that are set. |
|
|
|
|
set_flags(self,
flags)
Set the given flags and unset all others. |
|
|
|
|
add_flag(self,
flag)
Set the given flag(s) without changing others. |
|
|
|
|
remove_flag(self,
flag)
Unset the given string flag(s) without changing others. |
|
|
|
|
get_date(self)
Return delivery date of message, in seconds since the epoch. |
|
|
|
|
set_date(self,
date)
Set delivery date of message, in seconds since the epoch. |
|
|
|
|
get_info(self)
Get the message's "info" as a string. |
|
|
|
|
set_info(self,
info)
Set the message's "info" string. |
|
|
|
|
_explain_to(self,
message)
Copy Maildir-specific state to message insofar as possible. |
|
|
|
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
|