Skip to content

SimpleEmail

Source code in docs_src/capo_pinpoint/types/simple_email.py
class SimpleEmail(TypedDict, closed=True):
    html_part: NotRequired["capo_pinpoint.types.simple_email_part.SimpleEmailPart"]
    """<p>The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.</p>"""
    subject: NotRequired["capo_pinpoint.types.simple_email_part.SimpleEmailPart"]
    """<p>The subject line, or title, of the email.</p>"""
    text_part: NotRequired["capo_pinpoint.types.simple_email_part.SimpleEmailPart"]
    """<p>The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.</p>"""
    headers: NotRequired[
        "capo_pinpoint.types.list_of_message_header.ListOfMessageHeader"
    ]
    """<p>The list of MessageHeaders for the email. You can have up to 15 Headers.</p>"""

headers instance-attribute

headers: NotRequired[ListOfMessageHeader]

The list of MessageHeaders for the email. You can have up to 15 Headers.

html_part instance-attribute

html_part: NotRequired[SimpleEmailPart]

The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.

subject instance-attribute

subject: NotRequired[SimpleEmailPart]

The subject line, or title, of the email.

text_part instance-attribute

text_part: NotRequired[SimpleEmailPart]

The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.