Skip to content

incendium.net.send_high_priority_email

César Román edited this page Dec 15, 2022 · 10 revisions

Description

Send a High Priority email.

Internally it calls incendium.net.send_html_email with the priority parameter set to "1".

Syntax

incendium.net.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.

Code Examples

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)
Clone this wiki locally