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
Go to the Azure portal and sign in using your Microsoft account.
Select Azure Active Directory from the Azure services section.
Navigate to Manage → App registrations → + New registration.
Enter the application name (e.g., ADAudit Plus Application) and select the default Supported account types.
In the Redirect URI field, select Web and paste one of the following URIs:
https://identitymanager.manageengine.com/api/public/v1/oauth/redirect
A localhost URI in the format protocol://localhost:port_number/context_if_any/RestAPI/WC/OAuthSetting (Example: http://localhost:8080/RestAPI/WC/OAuthSetting)
From the left pane, go to Manage → Certificates & secrets.
Click + New client secret, enter a description, choose an expiration period (e.g., 24 months), and click Add.
Copy the generated client secret value.
Using OAuth with Google
Go to the Google Cloud Console and sign in with your Google Account.
Select an existing project or create a NEW PROJECT.
From the left pane, go to APIs & Services → Library.
Select Gmail API from the list and click Enable.
Navigate to the OAuth consent screen, select a User Type, and enter your application details.
From the left pane, go to Credentials → Create Credentials → OAuth client ID.
Choose Web application as the type and enter an application name.
In Authorized redirect URIs, paste one of the following URIs:
https://identitymanager.manageengine.com/api/public/v1/oauth/redirect
A localhost URI in the format protocol://localhost:port_number/context_if_any/RestAPI/WC/OAuthSetting (Example: http://localhost:8080/RestAPI/WC/OAuthSetting)
Click Save and download the JSON file containing your authentication information.
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.
Sign in to your Gmail account and go to your Google Account home page.
Select Security from the left menu.
Under How you sign in to Google, select 2-Step Verification, then click App passwords.
From the Select app drop-down, choose Other (Custom name) and provide a name.
Click Generate to create a 16-digit App Password to use in ADAudit Plus.
Step 2: Configure the SMTP server in ADAudit Plus
Open the ADAudit Plus web console.
Navigate to Admin → General Settings → Server Settings → Mail.
Select SMTP mode.
Enter the required details:
Server Name or IP
Port Number
From Address
Email ID for Notifications (use commas to separate multiple addresses)
Choose a connection security type: SSL, TLS, or None.
Under Authentication, select either Basic Authentication or OAuth Authentication and enter the credentials you obtained in Part 1.
(Optional) Check Send Emails in HTML Format.
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