lock() unlock() Three locking mechanisms are used—dot locking and, if available, the flock() and lockf()
list_folders() Return a list of the names of all folders.
write(s) Write the string s to the underlying file object, i.e. outfp passed to Generator‘s constructor
make_related(boundary=None) Convert a non-multipart message into a multipart/related message, moving
class json.JSONDecoder(object_hook=None, parse_float=None, parse_int=None, parse_constant=None, strict=True, object_pairs_hook=None) Simple
set_unixfrom(unixfrom) Set the message’s envelope header to unixfrom, which should be a string.
email.utils.parsedate(date) Attempts to parse a date according to the rules in
header_fetch_parse(name, value) If the value contains binary data, it is converted into a
fold_binary(name, value) The same as fold() if cte_type is 7bit, except that the returned
get_file(key) Using the file after calling flush() or close() on the mbox instance may
Page 3 of 44