Expand description
ยงGet message as HTML.
Use Message.has_html()
to check if the UI shall render a
corresponding button and MsgId.get_html()
to get the full message.
Even when the original mime-message is not HTML,
MsgId.get_html()
will return HTML -
this allows nice quoting, handling linebreaks properly etc.
Structsยง
- Html
MsgParser ๐HtmlMsgParser converts a mime-message to HTML.
Enumsยง
- Mime
Multipart ๐Type Type defining a rough mime-type. This is mainly useful on iterating to decide whether a mime-part has subtypes.
Functionsยง
- Function takes a content type from a ParsedMail structure and checks and returns the rough mime-type.
- mimepart_
to_ ๐data_ url Convert a mime part to a data: url as defined in RFC 2397. - Wraps HTML text into a new text/html mimepart structure.