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
| Attribute | Type | Description |
|---|---|---|
| html_content | str | The raw HTML string representing the body of the email message. |
| subject | str | The text string used as the title or subject line of the email. |
Constructor
Signature
def EmailData(
html_content: str,
subject: str
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| html_content | str | The HTML body content of the email. |
| subject | str | The subject line of the email. |
Signature
def EmailData(
html_content: str,
subject: str
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| html_content | str | The raw HTML string representing the body of the email message. |
| subject | str | The text string used as the subject line for the email. |