Thursday, July 23, 2015

Configuring Outgoing email in SharePoint 2013


(I) Creating Receive Connector in Exchange 2013

1. Go to exchange server and open EAC. Select Mail Flow from the left, choose receive connector and click + click as show below
2. On the Receive Connector page, enter new name for the connector and keep the rest default

3. Under Network Binding, click on pencil to edit 

4. Enter the IP of SharePoint Server and click on Save


5.Click on Finish

6. From the EAC, edit the newly created receive connector, go to Security and check Anonymous users under Permission groups and click Save



(II) Enable Outgoing mail in Document Library

1. Go to SharePoint Server, Open SharePoint 2013 Central Administration and. Under System Systems, click on Configure outgoing e-email settings 


2.On the Outgoing E-Mail Settings, Enter Outbound SMTP server which is your exchange server FQDN, From Address, reply address and click on OK.

3. Now it is time to login the SharePoint Site and go to the document library. Click the library where you want to setup the alert.  we will see Alert me icon as we have setup the outgoing email . Click on the Alert Me and choose Set alert on this library

4. On the New Alert Page, make the selection as per your needs. I kept all as default and click OK.




Once the above is setup properly, you should receive an email confirming the setup.









Configure Incoming emails in SharePoint Server 2013

In couple of months time, I will have to implement SharePoint 2013 at my work. I have started playing around with installation and configuration on my lab environment. I am going to blog any issues that I encountered and the solutions for future reference.

Lab Info:

OS: Windows Server 2012 R2
Database : MS SQL Server 2012 Standard
Active Directory Certificate Service
SharePoint 2013
Exchange 2013
Single Farm will suffice


After I configured incoming emails in both SharePoint and Exchange 2013, I did testing by sending a document but never made it through to SharePoint Document folders.  I am going to document the requirements for SMTP configuration along with the creating send connectors in Exchange.


 Topics:
(I) Installing SMTP  feature in SharePoint Server
(II) Installing certificate for SMTP service
(III) Configure SMTP on SharePoint Server
(IV) Creating Send Connector in Exchange 2013 
(V) Enable Incoming Email on document Library


(I) Installing SMTP  feature in SharePoint Server

1. On the SharePoint server, open Server manager and click on Manage -> Add Roles and Features.
2. Click Next on the following screen

3. Choose "Select a server from the server pool" and click Next


4. Click Next on the Roles Screen, Select Features from the left, check SMTP from the features, click Next


5. Click Add Features, Next and Install

(II) Install Certificate 

As a part of security requirement, SMTP service is required to implement TLS encryption. Under the Properties for the SMTP service, in the Access Tab, the Require TLS encryption check box is grayed out.

I assume that you already have Active Directory Certificate installed on your environment and certificate is installed in Exchange too. We need to request and install certificate in SharePoint/SMTP server.

a. Run MMC
b. From File menu, Choose Add/Remove Snap-in

b. From the Available snap-ins, select Certificate and click on Add

c. Choose Computer Account and click Next


d. Choose Local Computer from select computer and click Finish



e. You should see certificates(local computer) on the selected snap-ins; and click OK.


f. Right Click on personal,->Choose All Tasks-> Click on Request New Certificate


g. On the Certificate Enrollment, click Next


h. under Request Certificates, choose Computer and Click on Enroll


i. On the certificate installation results page, click Finish



h. In the Certificate console of SharePoint server, navigate to Personal, Certificates, the new certificate has been installed.



Now the certificate is made available to the SMTP service, Secure Communication -> Require TLS encryption is available and no more grayed out.



(III) Configure SMTP on SharePoint Server

a. Browse to Server manager -> Local Server->Tools-> "Internet Information Services (IIS) 6.0 manager"

b.Expand Server Name-> Right Click on SMTP and click on Properties

c. On the General Tab,  select Enable logging and keep everything as default.

d. Click on the Access Tab-> Under Secure communication -> check Require TLS Encryption


e. Under Access->click on Authentication and make sure Anonymous is selected


f. Under Access ->Click on connection and make sure All except the list below is selected

g. Under Access-> Select Relay and make sure All except the list below is selected.

h. Select Delivery Tab-> Outbound Security

i. under Outbound Security, make sure Anonymous Access and TLS encryption are selected


j. Delivery Tab->click Advanced

k. Check the SMTP/SharePoint Server FQDN is displayed.




(IV) Creating Send Connector in Exchange 2013 
(V) Enable Incoming Email on document Library



(VI) Configuring AD to allow contracts to show up in the OAB