-
-
Notifications
You must be signed in to change notification settings - Fork 2
incendium.net.send_high_priority_email
Cesar Roman edited this page Sep 23, 2020
·
10 revisions
Sends a High Priority email. Internally it calls incendium.net.send_html_email
with the priority
parameter set to "1"
.
send_high_priority_email(subject, body, to)
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.
# Imports.
from incendium import util
def send_important_email():
util.send_high_priority_email(
'This is the subject',
body, # HTML message.
to=['john@mycompany.com', 'bob@mycompany.com']
)
system.util.invokeAsynchronous(send_important_email)