mailbox.Mailbox.iterkeys()
  • References/Python/Python/Internet Data

iterkeys() keys() Return an iterator over all keys if called as iterkeys() or return a list of keys

2025-01-10 15:47:30
email.message.EmailMessage.set_content()
  • References/Python/Python/Internet Data

set_content(*args, content_manager=None, **kw) Call the set_content method of the content_manager, passing

2025-01-10 15:47:30
email.generator.Generator.write()
  • References/Python/Python/Internet Data

write(s) Write the string s to the underlying file object, i.e. outfp passed to Generator‘s constructor

2025-01-10 15:47:30
email.parser.FeedParser.feed()
  • References/Python/Python/Internet Data

feed(data) Feed the FeedParser some more data. data should be a string containing one or more lines. The

2025-01-10 15:47:30
mailbox.MH.get_folder()
  • References/Python/Python/Internet Data

get_folder(folder) Return an MH instance representing the folder whose name is folder. A NoSuchMailboxError

2025-01-10 15:47:30
email.message.Message.
  • References/Python/Python/Internet Data

__bytes__() Equivalent to as_bytes(). Allows bytes(msg) to produce a bytes object containing the formatted

2025-01-10 15:47:30
email.utils.encode_rfc2231()
  • References/Python/Python/Internet Data

email.utils.encode_rfc2231(s, charset=None, language=None) Encode the string s according to

2025-01-10 15:47:30
mimetypes.add_type()
  • References/Python/Python/Internet Data

mimetypes.add_type(type, ext, strict=True) Add a mapping from the MIME type type to the extension ext. When

2025-01-10 15:47:30
mailbox.Mailbox.discard()
  • References/Python/Python/Internet Data

discard(key) Delete the message corresponding to key from the mailbox. If no such message

2025-01-10 15:47:30
mailbox.Maildir.add()
  • References/Python/Python/Internet Data

add(message) __setitem__(key, message) update(arg)

2025-01-10 15:47:30