Send Email to Entities
  • 25 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Send Email to Entities

  • Dark
    Light
  • PDF

The Send Email to Entities action sends an email with a predefined subject and body to all entities which have an email address, based on the following logic:

  • Users query - Email will be sent to each User asset which has an email address.
  • Devices query - Email will be sent to each User asset which has an email address that is determined as the Last Used Users for each device.

To use this action, you must enable the 'Send Emails' setting and configure the email host and port. For more details, see Global Settings.

To configure the Send Email to Entities action, from the Action Library, click Notify, and then click Send Email to Entities.

Action Settings

Click to view Action Settings
  1. Email subject (optional, default: empty) - Specify the email subject.
    • If supplied, the generated email subject will be the specified subject.
    • If not supplied, the email subject will be [Enforcement Set Name] + 'for Query:' + [query name]
  2. Custom message (optional, default: empty) - Specify the body of the email message.
    • If supplied, the generated email body will be the specified custom message.
    • If not supplied, the email message will be generated with no body.
  3. Send to device owner (required, default: False) - Select whether to send an email to the device owner.
    • If enabled, an email will be sent to the email address of the device owner, if it exists.
    • If disabled, an email will be sent to each User asset which has an email address that is determined as the Last Used Users for each device.
  4. Email CC list (optional, default: empty) - Specify a comma-separated list of email addresses.
    • If supplied, each email will also be sent to the supplied email addresses in that list.
    • If not supplied, each email will only be sent to each User asset which has an email address that is determined as the Last Used Users for each device.
NOTE
  • The following parameters can be used in the email message/custom body and work only when the triggering query is a user-based query:
    • {{USERNAME}} - The username of the user.
    • {{FIRST_NAME}} - The user's first name.
  • This field allows unsanitized HTML code.

To learn more about configuring Enforcement Sets, see Configuring Enforcement Sets.



First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.