Skip to main content

EmailData

This class serves as a data container for email information, specifically storing the HTML content and the subject line. It provides a structured way to manage the core components of an email message.

Attributes

AttributeTypeDescription
html_contentstrThe raw HTML string representing the body of the email message.
subjectstrThe text string used as the title or subject line of the email.

Constructor

Signature

def EmailData(
html_content: str,
subject: str
) - > null

Parameters

NameTypeDescription
html_contentstrThe HTML body content of the email.
subjectstrThe subject line of the email.

Signature

def EmailData(
html_content: str,
subject: str
) - > null

Parameters

NameTypeDescription
html_contentstrThe raw HTML string representing the body of the email message.
subjectstrThe text string used as the subject line for the email.