mailbox.Message
  • References/Python/Python/Internet Data

class mailbox.Message(message=None) A subclass of the

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

get_params(failobj=None, header='content-type', unquote=True) Return the message’s Content-Type

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
mailbox.Maildir.remove_folder()
  • References/Python/Python/Internet Data

remove_folder(folder) Delete the folder whose name is folder. If the folder contains any messages, a NotEmptyError

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
email.utils.formataddr()
  • References/Python/Python/Internet Data

email.utils.formataddr(pair, charset='utf-8') The inverse of parseaddr(), this takes a 2-tuple of the form (realname

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.headerregistry.Address.username
  • References/Python/Python/Internet Data

username The username portion of the address, with all quoting removed.

2025-01-10 15:47:30
email.charset.Charset.input_charset
  • References/Python/Python/Internet Data

input_charset The initial character set specified. Common aliases are converted to their official email names (e.g

2025-01-10 15:47:30
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