There are plenty of reasons to set up SharePoint 2010 email notifications. For example, you can use them to alert SharePoint administrators of configuration changes. You can also inform users whenever additions are made to a document library or when existing documents are modified.
No matter which notifications you want to set up, you must have a way to deliver them. Follow these steps to configure SharePoint 2010 to send email notifications through an Exchange 2010 server.
Step 1. Set up a SharePoint server email address
To begin, first give your SharePoint server an email address — even though SharePoint never actually logs onto the mailbox. The address will be used as both the From: and Reply To:addresses for outbound messages. After creating the Exchange mailbox, delegate permission for the mailbox to the SharePoint administrator.
Step 2. Create an Exchange 2010 receive connector
Now create a receive connector on your Exchange 2010 server. This lets Exchange 2010 receive messages directly from SharePoint 2010. To create the receive connector, open the Exchange Management Console (EMC) and navigate to Microsoft Exchange On-Premise -> Server Configuration -> Hub Transport. Click the New Receive Connector link to launch the New Receive Connector wizard.
Choose a name for your new receive connector and specify what you will use the connector for. Name the connector something descriptive like “SharePoint 2010 Outbound Messages,” then set the connector’s intended use to Custom. Click Next to continue.
The next screen asks which IP addresses you want to use to receive mail. Leave the default setting of All Available IPv4 on Port 25, then click Next.
You will see a screen that asks which remote IP addresses the connector should be configured to receive mail from. Click the Add button, then enter the IP address for your SharePoint 2010 server. The connector is set to receive mail from all addresses by default. Remove this address range
so that the connector only accepts messages from your SharePoint server.
Click Next and you’ll see a summary of the configuration information you’ve entered. Make sure that the information checks out, then click New. When Exchange finishes creating the new receive connector, click Finish.
Finally, configure Exchange to accept non-authenticated connections. While this sounds risky, it’s safe because you’ve already configured Exchange to only accept connections from the SharePoint server. To adjust the permissions, right-click on the receive connector, then click Properties. When the Properties sheet appears, select the Permission Groups tab. Select the Anonymous Users checkbox and click OK.
Step 3. Configure your SharePoint 2010 server
Now that you’ve prepared your Exchange 2010 server, you must configure SharePoint to use it for outbound messages. To begin, open the SharePoint 2010 Central Administration Console. Click on System Settings, then on the Configure Outgoing E-Mail Settings option.
When prompted, enter your Exchange server’s IP address into the Outbound SMTP Serverfield. Next, enter your previously designated SharePoint mailbox’s address into the From Address and Reply-To Address fields. Click OK to complete the configuration process.
Step 4. Create and test SharePoint alerts
Now that you have configured SharePoint to use Exchange for outbound mail, there is a final step. You must also configure SharePoint 2010 to send alerts. To find out how to create SharePoint 2010 alerts, see my previous tip on the topic.
SharePoint is configured to notify the Administrator, User1 and User2 whenever you make a change to the document library. You’ll also notice that SharePoint is configured to send the alerts via email.