incendium.net.send_html_email - ignition-devs/incendium GitHub Wiki
Description
Send an email in HTML format.
Syntax
incendium.net.send_html_email(subject, body, to, [priority])
Args:
- subject (
str
): The subject line for the email. - body (
str
): The body text of the email. - to (
list
[str
]): A list of email addresses to send to. - priority (
str
): Priority of the message, from "1" to "5", with "1" being highest priority. Defaults to "3" (normal) priority. Optional.
Code Examples
from incendium import net
net.send_html_email(
"This is the subject",
"Body", # HTML message.
to=["[email protected]", "[email protected]"],
)