The Alert Email functionality allows you to send email to recipients when the alert condition is satisfied for a specified data set.
To configure the SMTP server, click the gear icon in the left navigation pane and then click Alerts.
You can create specific conditions so that an email is sent to recipients when those conditions are met for specified data sets.
You can set DQ alerts for data sets so that you are notified based on certain conditions that are triggered on the data sets. Below is what a data set email looks like in your inbox. Make sure your email client didn't mark the email as spam and that the SMTP server was set up properly.
Another scenario is when the DQ Job fails to run or has an exception and, therefore, never gets the chance to score the data or run the alert condition. This is a failed alert that's automatically sent to the email address based on the Admin/SMTP settings defined in the
To Email (Default)fields in the Admin console.
There are also alert notifications in the web UI. This can be helpful to confirm that the email alerts were sent out and who should have received the notifications.
If you are in a notebook or pipeline, you may prefer to use the Scala/Spark API to create the Email Server.
val emailServer = OwlUtils.createEmailServer("smtp-relay.sendinblue.com", 587)
Some alert settings are configurable without requiring a username or password when you set up an email server. To configure this type of alert:
- 1.Select the gear icon in the left navigation pane and then select Settings.
- 2.From Settings, select App Config in the upper right and then select Add Custom.
- 3.Enter a property in the name field and a value in the value field.
- 4.Select Add.
The following table contains the configurable properties.