-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.net.send_high_priority_email
César Román edited this page Dec 15, 2022
·
10 revisions
Send a High Priority email.
Internally it calls incendium.net.send_html_email
with the priority
parameter set to "1"
.
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.
import system.util
from incendium import net
def send_important_email():
net.send_high_priority_email(
"This is the subject",
"Body", # HTML message.
to=["john@mycompany.com", "bob@mycompany.com"],
)
system.util.invokeAsynchronous(send_important_email)