How to configure incoming and outgoing emails in SharePoint Server 2013/2016/2019

This SharePoint 2013 tutorial explains how to configure incoming and outgoing emails in SharePoint server 2013/2016/2019. Here I would like to walk you through the process to configure SMTP in SharePoint 2013. In any SharePoint environment, we need to configure SMTP to send/receive emails.

Configure incoming and outgoing emails in SharePoint

Note: We need to add SharePoint site as a trusted server in the mail server and should add to the proxy. Without this, we can’t send/receive emails in SharePoint even after you configure the SMTP on the Application server.

Step 1: Log-on to the Application server as a FARM administrator account
Step 2: Ensuring the Simple Mail Transfer Protocol (SMTP) service is installed on the server
Step 3: Start -> Server Manager

configure smtp server sharepoint 2013
configure smtp server SharePoint 2013

Step 4: click on “Add Roles and Features”

configure smtp server sharepoint 2010
how to configure incoming and outgoing emails in SharePoint server 2013

Step 5: Click on “Server Selection” and click next

configure smtp server sharepoint 2016
configure SMTP server SharePoint 2016

Step 6: Click on Features and ensure that “SMTP server (installed)” is checked

configure mail server sharepoint 2013
configure mail server SharePoint 2013

Step 7: If it’s not installed please check the checkbox and complete the installation by clicking on the install button

Step 8: Now that the SMTP server installed we have to start SMTP service as part of “services.msc”

setup smtp server sharepoint 2013
setup SMTP server SharePoint 2013

Step 9: once the service is started, we should configure the SMTP server details.
Start -> Administrative Tools -> Double click on “Internet Information Services (IIS) 6.0 Manager”

configure outgoing mail server sharepoint 2013
configure outgoing mail server SharePoint 2013

Step 10: You should be able to play icon grayed out which means the SMTP server is started.

configure incoming email sharepoint 2013
configure incoming email sharepoint 2013

Step 11: Right-click on SMTP Virtual Server and select properties and go on to the connection under the “Access” Tab.

configure outgoing email sharepoint 2016
configure outgoing email sharepoint 2016

Step 12: Ensure that “Only the list below” radio button is selected and click on “Add” button to add button enter “127.0.0.1” (this is static and IP-Address of local computer) and click OK.

configure-incoming-email-sharepoint-2016
configure-incoming-email-sharepoint-2016

Step 13: Click on Relay button and ensure that “Only the list below” radio button is selected and click on “Add” button to add button enter “127.0.0.1” (this is static and IP-Address of local computer) and click OK

how to configure incoming and outgoing emails in sharepoint server 2013
how to configure incoming and outgoing emails in sharepoint server 2013

Step 14: Click on “messages” Tab and add “Non-Delivery” email-id

how to configure incoming and outgoing emails in sharepoint server 2016
how to configure incoming and outgoing emails in sharepoint server 2016

Step 15: Click on the “Delivery” tab and click on the “Outbound Security” button and ensure that “TLS Encryption”.

configure incoming email sharepoint 2016-tutorial
configure incoming email sharepoint 2016-tutorial

Step 16: Click on “Advanced” and add “Fully-qualified domain name”, “smart host values” and click on OK.
IT team should be able to provide you with the above 2 values

sharepoint 2013 incoming email settings missing
sharepoint 2013 incoming email settings missing

Step 17: Once you complete all the 16 steps close all the windows and restart SMTP services in “Services.msc”

Quickly testing SMTP Email server:

1. Go to “Badmail directory path” (you can see this path as part of Step 14 screenshot)

2. Create a notepad and paste the below text and save it as “testing SMTP.txt”

 
 From: <<From Email-ID >> To: <<TO Email-ID >>Subject: SP SMTP/SMTP Relay Email test from <<Server NameThis is the test body of the email. TODAY IS 7:49 PM 12/10/2017.From: <<From Email-ID >> To: <<TO Email-ID >>Subject: SP SMTP/SMTP Relay Email test from <<Server NameThis is the test body of the email. TODAY IS 7:49 PM 12/10/2017.
From: <<From Email-ID >> To: <<TO Email-ID >>Subject: SP SMTP/SMTP Relay Email test from <<Server NameThis is the test body of the email. TODAY IS 7:49 PM 12/10/2017.

Note: From email-id must be an Approved ID as part of the Active Directory email list.

3. Copy this txt file in Queue folder “D:\Sites\Default\mailroot\Pickup” (please change it as per your configuration)
4. SMTP will pick this txt and sends the email to the desired recipients.

sharepoint 2016 outgoing email not working
SharePoint 2016 outgoing email not working

You may like below SharePoint 2013 tutorials:

I hope this SharePoint tutorial explains how to configure incoming and outgoing emails in SharePoint server 2013/2016

  • I know that this is an old post but is there any way that you can elaborate more about this comments:
    We need to add SharePoint site as a trusted server in the mail server and should add to the proxy.
    trusted server means whitelist of senders ?
    proxy means SMTP relay connectors in Exchange ?

    Thank you,

    Juan C

  • >