Set up Alert Emailing

When an alert is triggered, its details can be emailed. If multiple records are returned from the alert query, the alerts are sent to the configured users in a single email.

Note: Alerts must be licensed to run.
Security Note: You need the Allow alert maintenance security right in the Alerts user group security rights group for this activity.

Activity Steps

  1. Open the Alert Editor.
  2. Select the Email Settings tab.
  3. Right-click in the Alert Email Groups field group and select Add from the menu.
  4. Triple-click the Email Group to edit the email group name.
  5. Select the Authentication Method from EWS Or SMTP and OAuth.

    Note: This field is read-only after making a selection. If you need to change the authentication method, set up a new alert email group.

  6. If the Authentication Method is EWS Or SMTP:
    1. Select whether to make Email Enabled.
    2. Select the Adaptor.
    3. If the Adaptor is Exchange Web Services:
      1. Complete the following fields.
        • Exchange Version
        • Exchange URL—Leave blank to use automatic discovery.
        • Use Default Credentials—Checked if the current AD account is associated with the required exchange account. The end user’s account may differ from the MineMarket Service’s account.
        • Username—Email address of the user account from which mails are sent.
      2. If Use Default Credentials is unchecked, enter the Password.
    4. If the Adaptor is SMTP Client:
      1. Complete the following fields.
        • Hostname—The name or Internet Protocol (IP) address of the host on which the mail server resides.
        • Port Number—To use the default SMTP port, enter 0 (zero).
        • Enable SSL/TLS—If checked, either SSL or TLS can be used.
        • Use Default Credentials
      2. If Use Default Credentials is unchecked, enter the Username and Password.

        Note: If using Gmail as the email client, the following configuration is recommended:
        • Use the hostnames smtp.gmail.com and imap.gmail.com as applicable.
        • Use the ports 587 (TLS) for SMTP and 993 for IMAP as applicable. Confirm that these ports are accessible (for example, by installing Telnet and running the command Telnet [hostname] [port number]).
        • Check Enable SSL/TLS.
        • Set up an app password on the Google account.
        • For IMAP, ensure IMAP access is enabled on the Google account.

    5. Complete the following fields.
      • Email To—Multiple addresses can be entered on separate lines or separated with commas.
      • From—This is a deprecated field. An email address must be entered; however, the sender's address is determined from the Account or Username.
    6. To test the email settings, click Test Email.

      A message displays the results of the test.

      Important: If an error message about a stored server name displays, see Configure the MMServerName to Enable Emailing.

  7. If the Authentication Method is OAuth:
    1. Select whether to make Email Enabled.
    2. Select the email Priority from Normal, Low or High.
    3. Enter the email addresses To which emails are sent. Enter multiple addresses on separate lines or separated with commas.
    4. Enter a Test Subject and Test Content.
    5. Click Test Email.

      If you are testing the email configuration for the first time, an authentication dialog box displays. Follow the prompts to enter credentials for the account.

      MineMarket uses Azure AD OAuth 2.0 to request an access token so that MineMarket can send emails on behalf of the authenticated account.

      MineMarket updates the From address.

      Important: This From address must be a Microsoft email account such as an Azure Active Directory or Office 365 account. When authenticating, if the message "Need admin approval" displays, you need to either use an admin account, or else have the user consent configuration changed for your organisation. See https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/configure-user-consent

      Important: If an error message about a stored server name displays, see Configure the MMServerName to Enable Emailing.

    6. To change the From address:
      1. Click Sign Out.
      2. Click Test Email.
      3. Authenticate with a different email address.
  8. Click Save.