# Configuring the SMTP Server to Send Emails

You can configure the SMTP server to send emails. An SMTP server uses a classic authentication with a username and password for most email servers. However for the Office 365 email server, you must configure modern authentication.

To enable and configure Transport Layer Security (TLS) encryption for SMTP, you must use the following supported versions for TLS: 1.0, 1.1, 1.2, and 1.3.

## Before You Begin

- Ensure that the firewall is disabled from your web server to the mail server.

- To configure the Microsoft Office 365 email server, create an Azure app in the Azure portal with the required permissions, and note the following details:

  - Azure application ID

  - Azure application secret

  - Azure directory ID

## Procedure

1. From the Command Center navigation pane, go to Manage > CommCell.
   The CommCell properties page appears.

2. Under Email settings, click Edit.
   The Configure email page appears.

3. Select SMTP.

4. Enter the details for the email server:

   Note

   If you change the default mail server port number or disable or enable SSL, on the CommServe computer, restart the Server Event Manager (EvMgrS) service. For instructions about restarting services, see Using Process Manager to View and Manage Commvault Services.

   1. In the SMTP server box, enter the name of the mail server.
      For example, enter smtp.office365.com for the Microsoft Office 365 email server.

   2. In the SMTP port box, enter the mail server port.

      Note

      - The default port is 25.
      - For the Microsoft Office 365 email server, enter port 587.

   3. In the Sender email box, enter an email address.

   4. In the Sender name box, enter the sender name.

   5. If the mail server uses encryption, select the encryption algorithm:

      - TLS: Select if the mail server uses Transport Layer Security (TLS).
      - SSL: Select if the mail server uses Secure Socket Layers (SSL).

   6. To specify authentication options for the mail server, move the Use authentication toggle key to the right.

      - To use a user name and password recognized by the mail server, select Classic authentication.

        - From the list, select the credential. To create a new credential, click +.

      - To configure the Microsoft Office 365 email server, you must select Modern authentication.

        1. Select the credential from the dropdown that contains the Azure application ID, secret, and directory ID.
           To create a new credential, click +.

        2. Review and confirm that the app has the required permissions.

        3. Copy and paste the redirect URI in the Microsoft Azure app portal.

        4. Click Acquire token.

           The Token status changes to Token acquired and the Azure account email is authorized for sending emails. Additionally, the Sender email box is automatically populated with the authorized Azure account email.

5. To send a test email, click Test email.

6. Click Save.

×

Loading...