Configure a mail server

NXLog Platform needs to connect to an SMTP server to send emails such as user invites, password reset requests, and system alerts. Ensure that you have your organization’s SMTP server details and follow these steps to configure NXLog Platform to use it to send emails:

  1. Log in to NXLog Platform and navigate to Administration > Tenant operations.

  2. In the Mail server settings section, set the fields as described in Mail server.

  3. Click Send test email to verify your settings. If the configuration is correct, you will receive an email at the address configured in your user account.

  4. Click Save changes.

Authenticating to Microsoft 365 with OAUTH

To use a mailbox hosted on Microsoft 365, you need a Microsoft Entra ID application and the following details:

  • The Directory (tenant) ID.

  • The Application (client) ID.

  • A client secret.

Follow Microsoft’s guide to Register an application in Microsoft Entra ID, and make sure to grant the application the SMTP.SendAsApp permissions.

Microsoft Entra ID application permissions

Once you create the application, perform the following steps:

Finally, configure the mail server settings in NXLog Platform:

  1. Set the Host to smtp.office365.com.

  2. Enter the Sender email address.

  3. Select STARTTLS for Encryption.

  4. Select MS365 with OAUTH for Authentication.

  5. Set the Tenant ID to your Microsoft Entra directory (tenant) ID.

  6. Set the Client ID to your Microsoft Entra application (client) ID.

  7. Set the Secret to the client secret associated with your Microsoft Entra ID application.