How to configure Email server using SMTP in ADAudit Plus

How to configure Email server using SMTP in ADAudit Plus

In this article:  

  • Objective

  • Prerequisites

  • Steps to follow

  • Validation and confirmation

  • Tips

  • Related topics and articles

Objective  

This article explains how to configure the email server using SMTP in ManageEngine ADAudit Plus. Configuring the SMTP server allows ADAudit Plus to send notifications and reports via email.

Prerequisites  

To configure the email server using SMTP, you must choose one of the following authentication types:

  • OAuth with Microsoft Azure as your email provider

  • OAuth with Google as your email provider

  • Basic authentication with Gmail as your email server

You will also need administrator access to the ADAudit Plus web console and the administrative portal for your chosen email provider (Azure, Google Cloud, or Gmail).

Steps to follow  

The configuration is a two-part process: first, obtain the necessary credentials from your email provider, and then enter them into ADAudit Plus.

Step 1: Obtain provider credentials  

Using OAuth with Microsoft Azure

  1. Go to the Azure portal and sign in using your Microsoft account.

  2. Select Azure Active Directory from the Azure services section.

  3. Navigate to Manage → App registrations → + New registration.

  4. Enter the application name (e.g., ADAudit Plus Application) and select the default Supported account types.

  5. In the Redirect URI field, select Web and paste one of the following URIs:

  1. From the left pane, go to Manage → Certificates & secrets.

  2. Click + New client secret, enter a description, choose an expiration period (e.g., 24 months), and click Add.

  3. Copy the generated client secret value.

Using OAuth with Google

  1. Go to the Google Cloud Console and sign in with your Google Account.

  2. Select an existing project or create a NEW PROJECT.

  3. From the left pane, go to APIs & Services → Library.

  4. Select Gmail API from the list and click Enable.

  5. Navigate to the OAuth consent screen, select a User Type, and enter your application details.

  6. From the left pane, go to Credentials → Create Credentials → OAuth client ID.

  7. Choose Web application as the type and enter an application name.

  8. In Authorized redirect URIs, paste one of the following URIs:

  1. Click Save and download the JSON file containing your authentication information.

  2. Copy the Client ID and Client Secret.

Using Basic Authentication with Gmail

If you are using Basic Authentication with Gmail and 2-Step Verification is enabled, you must generate an App Password.

  1. Sign in to your Gmail account and go to your Google Account home page.

  2. Select Security from the left menu.

  3. Under How you sign in to Google, select 2-Step Verification, then click App passwords.

  4. From the Select app drop-down, choose Other (Custom name) and provide a name.

  5. Click Generate to create a 16-digit App Password to use in ADAudit Plus.

Step 2: Configure the SMTP server in ADAudit Plus  

  1. Open the ADAudit Plus web console.

  2. Navigate to Admin → General Settings → Server Settings → Mail.

  3. Select SMTP mode.

  4. Enter the required details:

    • Server Name or IP

    • Port Number

    • From Address

    • Email ID for Notifications (use commas to separate multiple addresses)

  1. Choose a connection security type: SSL, TLS, or None.

  2. Under Authentication, select either Basic Authentication or OAuth Authentication and enter the credentials you obtained in Part 1.

  3. (Optional) Check Send Emails in HTML Format.

  4. Click Save Settings.

Validation and confirmation  

  • Send a test email after saving the configuration.

  • Verify that the email is delivered to the recipient addresses.

  • If you do not receive the test email, check spam folders or review the SMTP settings for accuracy.

Tips  

  • Always use a dedicated service account for authentication rather than a personal user account.

  • Ensure the firewall on the ADAudit Plus server allows outbound SMTP traffic on the configured port.

  • If you only add the localhost redirect URI for OAuth, the product must be accessed via localhost to complete the mail server configuration.

Related topics and articles  

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to detect privilege escalations using ADAudit Plus

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure a real-time alert in ManageEngine ADAudit Plus to notify administrators whenever a ...
                    • How do I set up an SMS server in ADAudit Plus?

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure SMS server settings in ADAudit Plus to enable sending SMS notifications. ...
                    • How do I set up an SMS server in ADAudit Plus?

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure SMS server settings in ADAudit Plus to enable sending SMS notifications. ...
                    • How to enable notifications for product webinars, workshops, and seminars in ADAudit Plus

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure ADAudit Plus to send notifications about upcoming product webinars, workshops, and ...
                    • How to enable notifications for product release notes in ADAudit Plus

                      In this article: Objective Prerequisites Steps to follow Validation and confirmation Tips Related topics and articles Objective This article explains how to configure ADAudit Plus to notify administrators when new product release notes are published ...