Skip to content

Message

Source code in docs_src/capo_pinpoint_email/types/message.py
class Message(TypedDict, closed=True):
    subject: "capo_pinpoint_email.types.content.Content"
    """<p>The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in <a href="https://tools.ietf.org/html/rfc2047">RFC 2047</a>.</p>"""
    body: "capo_pinpoint_email.types.body.Body"
    """<p>The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.</p>"""

body instance-attribute

body: Body

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

subject instance-attribute

subject: Content

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.