Skip to content

incendium.net.send_high_priority_email

César Román edited this page Apr 30, 2024 · 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=["[email protected]", "[email protected]"],
    )


system.util.invokeAsynchronous(send_important_email)

incendium.net.send_html_email

Clone this wiki locally