SharePoint 2013 -Configure Incoming emails with Exchange Server 2013

 

This blog post is to help you in configure Incoming emails in SharePoint 2013 using Exchange Server 2013

Setup

Domain Controller – Windows Server 2012

Exchange Server – Exchange Server 2013

SharePoint Server – SharePoint Server 2013

Lets begin the process of setting up Incoming emails

Creating OU for Storing Email Alias

  • Log in to DC or any computer which have Active Directory administration tools installed.
  • Open "Active Directory users and Computers"
  • Right click on domain name and select New > Organizational Unit
  • Provide some meaningful name and click on OK

clip_image001

  • Make sure the account which is running Timer Service on SharePoint Server has permissions to create and delete objects.

Add SMTP role to the SharePoint Server

 

  • Browse to Server Manager and click on Manage > Add roles and features

clip_image002

 

  • Click on Next and choose "Select a server from the server pool" and click Next

clip_image003

 

  • Click Next on the Roles screen

clip_image004

  • Select SMTP
  • Click on Add Features

clip_image005

 

  • Click Next
  • Click Install

Create Send Connector

 

  • Click on Mail Flow > Send Connectors

clip_image006

  • Click on New Send Connector Icon and give it meaningful name and chose Internal

clip_image007

  • Choose "Route mail through smart hosts" and click on Add and provide SharePoint Server FQDN

clip_image008

  • Choose None as the Authentication method

clip_image009

  • Provide the FQDN of the SharePoint Server where SMTP role is installed and click on Save and then Next

clip_image010

 

  • On the Source Server screen add the exchange server and click on Finish

clip_image011

  • Ensure that the Connector status shows as Enabled

clip_image012

Configure SMTP on SharePoint Server

 

  • Browse to Server Manager > Local Server > Tools> "Internet Information Services (IIS) 6.0 Manager"

clip_image013

  • Expand Server Name >
  • Right Click on SMTP and click on Properties

clip_image014

  • Click on Access > Authentication and ensure Anonymous is checked

clip_image015

Configure Email Settings in SharePoint

 

  • Browse to SharePoint central Administration
  • Click on System Settings > Configure Incoming e-mail settings
  • Configure settings based on the screen shots

clip_image016

clip_image017

Enable Incoming email on Document library

 

  • Browse to your Web Application
  • Create a new document library App
  • Browse to the List settings of the Document Library App

clip_image018

  • Click on Incoming e-mail settings

clip_image019

  • Configure the settings based on the following screen shot

clip_image020

  • Browse to the OU SharePoint Alias and make sure you see the contact created in it

clip_image021

Test the incoming email functionality

 

  • Send an email with an attachment to the email address that you configured, in my case it was doclib@sps2013.walia.com
  • Navigate to the Drop folder on the SMTP server, default location for the drop folder is C:\inetpub\mailroot\Drop
  • You should see your emails sent in this folder

clip_image022

  • Wait for 5 mins and these emails should get processed by the timer service
  • Browse to the Document library and you should see the attachment being uploaded to the document library

Feel free to post comments if you have any confusion regarding any of the steps.