-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.net.send_html_email
César Román edited this page Apr 30, 2024
·
9 revisions
Send an email in HTML format.
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.
from incendium import net
net.send_html_email(
"This is the subject",
"Body", # HTML message.
to=["[email protected]", "[email protected]"],
)