Skip to content

MessageBody

Source code in docs_src/capo_mailmanager/types/message_body.py
class MessageBody(TypedDict, closed=True):
    text: NotRequired["str"]
    """<p>The plain text body content of the message.</p>"""
    html: NotRequired["str"]
    """<p>The HTML body content of the message.</p>"""
    message_malformed: NotRequired["bool"]
    """<p>A flag indicating if the email was malformed.</p>"""

html instance-attribute

html: NotRequired[str]

The HTML body content of the message.

message_malformed instance-attribute

message_malformed: NotRequired[bool]

A flag indicating if the email was malformed.

text instance-attribute

text: NotRequired[str]

The plain text body content of the message.