datetime If the header value can be recognized as a valid date of one form or another, this attribute will contain a
email.message_from_file(fp, _class=email.message.Message, *, policy=policy.compat32) Return a message object structure tree
json.loads(s, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
email.header.make_header(decoded_seq, maxlinelen=None, header_name=None, continuation_ws=' ') Create a Header instance
lock() unlock() Maildir mailboxes do not support (or require) locking, so these methods do nothing.
email.policy.default An instance of EmailPolicy with all defaults unchanged. This policy uses the standard Python
doc The JSON document being parsed.
exception email.errors.BoundaryError Raised under some error conditions when parsing the
fold_binary(name, value) Headers are folded using the
exception email.errors.MessageParseError This is the base class for exceptions raised by the
Page 18 of 44