message_text Property
The plain text version of the message.
Syntax
def get_message_text() -> str: ... def set_message_text(value: str) -> None: ...
message_text = property(get_message_text, set_message_text)
Default Value
""
Remarks
This property is a plain text version of the HTML message. This is necessary for recipients with legacy mail readers that do not support HTML.
The message_html property contains the HTML version of the message. When message_html is set, the class automatically computes a plain text version of the text and puts it into this property. You may choose to override this default text with your own version.