---
title: NetWitness to Send Emails Using smtp.office365.com or smtp.gmail.com
description: "Issue\nEmail output action fails after using smtp.office365.com server in the NetWitness Reporting Engine output actions window / Admin Legacy Email wi"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-to-send-emails-using-smtp-office365-com-or-smtp-gmail-com#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [How To](https://mydev.netwitness.com/knowledge-base/how-to?hsLang=en)

May 4, 2026

# NetWitness to Send Emails Using smtp.office365.com or smtp.gmail.com

#### Issue

 Email output action fails after using **smtp.office365.com** server in the NetWitness Reporting Engine output actions window / Admin Legacy Email window ( **Admin** \>  **System** \>  **Email**) / Global Notifications window ( **Admin** \>  **System** \>  **Global Notifications**).

#### Resolution

## **Send emails to your Outlook account using smtp.office365.com server:**

 You must add the following certificates to the Integration Server’s trust – store to send emails using **smtp.office365.com** server.

- **smtp\_office365.crt** – Server Certificate
- **DigiCert Global Root CA** – Root CA Certificate

To add **smtp\_office365.crt** to the Integration Server’s trust – store:

 1\. SSH to the Admin server.   
2\. Fetch the **smtp\_office365.crt** file. Run the following command.

 openssl s\_client -connect smtp.office365.com:587 -crlf -starttls smtp -showcerts | openssl x509 -outform PEM -out smtp\_office365.crt 

 3. Convert **smtp\_office365.crt** file to **smtp\_office365.pem** file. Run the following command.

 openssl x509 -in smtp\_office365.crt -out smtp\_office365.pem 

4\. Import the **smtp\_office365.pem** file to the Integration Server. Run the following command.

 security-cli-client --add-trusts --service integration-server --superuser-id \<userID\> --superuser-pwd \<password\> --chain-file \<absolute path of the smtp pem file\> 

To add **DigiCert Global Root CA** to the Integration Server’s trust – store:   
1. Download the file [https://download.microsoft.com/download/4/a/b/4ab1c940-826b-444b-b287-b7a902e68da0/m365\_root\_certs\_20220331.p7b](https://download.microsoft.com/download/4/a/b/4ab1c940-826b-444b-b287-b7a902e68da0/m365_root_certs_20220331.p7b) on a Windows machine (local system).   
2. Open the **Certificates Manager** window. Double-click the root folder and then double-click the Certificates sub-folder.

![cert](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_33e116e1-df38-4347-a9e3-bea06f33355b.jpg)   
 3. Open the **DigiCert Global Root CA**.   
The **Certificate** window is displayed.   
 

![smtp1.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_1_11756c78-8e89-4c26-be26-1ee0c93f992a.jpg)

![smtp2.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_2_72e76feb-c5ed-4e20-844b-9f88a784561c.jpg)

4. Go to **Details**. Click **Copy to File**.   
The **Certificate Export Wizard** is displayed. Click **Next**.

![smtp3.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_3_cd5c05ac-93c5-436a-8bb2-7b7f2bee7743.jpg)   
5. Select **DER encoded binary X.509 (.CER)**. Click **Next**.   
![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_4_b45be7a9-8498-47f4-8909-34b42aed27c8.jpg)

6. Click **Browse**. Enter the file name and click **Save**.   
7. Click **Next** and then click **Finish**.   
The successful export notification is displayed.

![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_5_2ec8d73c-de6f-41ef-a5b2-011ef0e26ddf.jpg)

8. SSH to the Admin Server.   
9. Copy the certificate downloaded on your local system to the Admin Server.   
10. Convert the **DigiCert Global Root CA (.cer)** file to a **.pem** file. Run the following command:

 openssl x509 -in \<absolute path of the copied .cer file \> -out \<destination path for the .pem file\> 

 11. Import the **.pem** file to the Integration Server. Run the following command:

 security-cli-client --add-trusts --service integration-server --superuser-id \<userID\> --superuser-pwd \<password\> --chain-file \<absolute path of the .pem file\> 

**Important:** NetWitness Platform supports the port **SSL enabled \[With Authentication\], Port: 587** for **smtp.office365.com** server.

**Note**: NetWitness Platform supports the same port ( **SSL enabled \[With Authentication\], Port: 587**) for **smtp.gmail.com** server as well.   
 

## **Send emails to your Gmail account using smtp.gmail.com server:**

 If the email output action fails to send the email/s to the configured Gmail account using the   **smtp.gmail.com** server configured in the NetWitness Reporting Engine output actions window / Admin Legacy Email window ( **Admin** \>  **System** \>  **Email**) / Global Notifications window ( **Admin** \>  **System** \>  **Global Notifications**), do the following:

1. Log in to the Gmail account.   
2. Go to the **Settings** tab. Enable **IMAP**.

![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_6_d82c0dc7-7a1b-435c-b4c5-5073de0bdbba.jpg)   
3. Go to **Manage Account** \> **Security**. Set the **Less secure app access** option to **On**.   
![image.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_7_0bb3a37a-2210-4739-9023-dc19c5c30bb0.jpg)

**Note:** After performing the steps above, if you are still unable to receive the emails on your Gmail account, do the following:

1. Go to [https://accounts.google.com/DisplayUnlockCaptcha](https://accounts.google.com/DisplayUnlockCaptcha).
2. Sign in to the Gmail account configured to receive the notifications from NetWitness.
3. Click **Continue** to allow access.

#### Product Details

**NetWitness Product Set**: NetWitness Platform   
**NetWitness Product/Service Type:** Admin Server, Reporting Engine, Integration Server   
**NetWitness Version/Condition:** 11.x, 12.x   
**Platform:** CentOS 7 / Alma

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.