# Configuring Mail Server Settings Network Configuration Manager allows you to configure e-mail alerts to get notified on any changes made to your network devices. The send email feature uses the mail server settings configured here as the default setting for email alerts across Network Configuration Manager. However, specific requirements can be configured while setting up a profile for each feature, i.e. Notification Profile, Schedule Reports, etc. **Important Note:** Prior to mail server configuration, go through [this mandatory check list](https://manageengine.com/network-configuration-manager/help/mail-server-troubleshooting.html) to avoid connection issues. ## Configuring mail server settings from version 126306 ![Mail server settings](https://www.manageengine.com/network-configuration-manager/help/images/mail-server-settings-1.png) To configure the SMTP server settings globally and to provide the secondary mail server settings, follow the steps given below: 1. Go to **Settings → General Settings**, click **Mail Server Settings**. 2. Enter the SMTP **Server name** and **Port** number. 3. Configure the **From** and **To Email ID** fields. 4. Enter a **Time Out** interval. 5. Select the **Authentication Type** as Basic or OAuth. - If the Authentication type is basic, configure the **User name** and **Password** details. - If you've chosen OAuth as the authentication type, configure the **User name** and **Authentication Provider** details. ![Select authentication type](https://www.manageengine.com/network-configuration-manager/help/images/mail-server-settings-2.png) **Note:** Only Google and Microsoft Oauth providers are supported. To learn more about OAuth configuration, [click here.](https://www.manageengine.com/network-configuration-manager/help/oauth-authentication.html) 6. For secure authentication, select the **SSL Enabled** or **TLS Enabled** check-box according to your requirements. 7. Click **Save**. ## Configuring mail server settings before version 126306 ![Configure mail server settings](https://www.manageengine.com/network-monitoring/help/images/mail-server-settings.png) To configure the SMTP server settings globally and to provide the secondary mail server settings, follow the steps given below: 1. Go to **Settings → General Settings**, click **Mail Server Settings**. 2. Enter the SMTP **Server name** and **Port** number. 3. Configure the **From** and **To Email ID** fields. 4. Enter a **Time Out** interval. 5. Configure the **User name** and **Password** details, if the server requires authentication to send e-mail. 6. For secure authentication, select the **SSL Enabled** or **TLS Enabled** check-box according to your requirements. 7. Click **Save**. ### Verifying configuration - To test the settings, enter the **Email ID** and click **Send Test Mail**. This e-mail ID will be considered as the default To Email ID. - If you have a secondary mail server in your network, select **Add a secondary mail server** tab and provide the details. In case of a failure in the primary mail server, Network Configuration Manager uses the secondary mail server to send E-mails (for version below 126306, check the **Add a secondary mail server** option). Find more information on configuring [Gmail](https://manageengine.com/network-configuration-manager/help/configure-gmail.html) and [Office 365](https://manageengine.com/network-configuration-manager/help/configure-office365.html). If you are getting delayed email notifications, click [here to troubleshoot](https://manageengine.com/network-configuration-manager/help/delayed-email-notifications.html).