Configure Email Notifications

These email settings are used for warehousing and for scheduled reports and billboards.

Security Note: You need the Allow server engine settings security right in the Options user group security rights group for this activity.

Activity Steps

  1. Open the Warehouse Settings.
  2. Select the Email Notifications tab.
  3. Select the Authentication Method from EWS Or SMTP and OAuth.

    Note: You can configure both authentication methods if required. (Test and save each configuration separately.) However, MineMarket only uses the actively selected authentication method to send emails.

  4. 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.

  5. 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.

      Note: This field is only used for warehouse notifications. Recipient addresses are included in configuration for each Report Schedule and Billboard Schedule.

    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.
  6. Click OK.

    Note: MineMarket saves the changes from this screen automatically. This saving does not include any unsaved changes made on any other screens.