Click here to Skip to main content
15,867,305 members
Articles / Productivity Apps and Services / Sharepoint / SharePoint 2010

Configuring Sharepoint 2010 to Accept Incoming Emails

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
7 Nov 2010CPOL4 min read 66.4K   6   8
How to configure SharePoint 2010 to accept incoming emails

Wouldn’t it be nice to create a list, announcement or a document respository automatically by sending email to Sharepoint Server? What's even better is that you can run a logic behind it by using worklflow and automate business processes as well.  A good example would be a service request or a project request where it originates from an email and depending on the contents of the email, it filters it out and assigns task to different departments. Well, before all of that happens, you need to configure Sharepoint first to accept incoming emails and here is a simple way to do it and it only involves 8 easy steps so let's get starting.

1. Add SMTP Feature to Your Sharepoint Server

To do that, go to your Server Manager by going to Start->Administrative Tools->Server Manager or just type “Server Manager” in the search box. Once in  the server manager, go to features, then in feature summary, click “Add Features”.

Image 1

Select “SMTP Server” and click “Add Required Role Services”.

Image 2

2. Install IIS 6 Management Console

Since SMTP Management still uses the old MMC UI, you need to install the IIS 6 Management Console. To check whether it's installed, go to Server Manager->Roles->Web Server(IIS), then under the Role Services, you will see what's installed, if it's not there, then click “Add Role Services”.

Image 3

Choose the required IIS 6 Management Components, and confirm installation.

Image 4

Once installed, you should see it under Administrative Tools->Internet Information Services (IIS) 6.0 Manager.

Image 5

3. Setup Your SMTP Server

Knowing that Internet Information Services (IIS) 6.0 Manager is installed, click on it and start setting up your SMTP.

Go to the SMTP Virtual Server, right click on it and choose properties.

Image 6

Go to Access, then setup Authentication, make sure Anonymous Access is checked, then click OK.

Image 7

Now click Connection, choose “All except the list below”, then click OK.

Image 8

Finally, click relay choose “Only the list below” and make sure the item  “Allow all computers which successfully authenticate to relay, regardless of the list above” is checked. Click OK, then Apply.

Image 9

4. Take Note of Where the Email Drop Folder is Located

This will be the location where an email message is dropped of first before processing. To go there, just below “SMTP Virtual Server”, you will see “Domains” and right click on the Domain Name of your server, then select properties.

Image 10

5. Check If SMTP Service is Running

To check if your SMTP Service is runing, type “services.msc” in run command, once Serices Console loads go to “Simple Mail Transfer Protocol (SMTP)”, double click the entry and make sure Startup Type is “Automatic” and start the service. Click Apply and OK.

Image 11

6. Configure Incoming E-mail Settings in SharePoint 2010

Now go to your Sharepoint Central Administration. Once there, go to System Settings->Configure incoming e-mail settings.

Image 12

Configure the following options:

  • Enable sites on this server to receive e-mail? -> Yes
  • Settings mode: -> Automatic
  • Use the SharePoint Directory Management Service to create distribution groups and contacts? -> No
  • E-mail server display address: -> YOURSERVER.yourdomain.com, this is the default
  • Safe E-Mail Servers -> Accept mail from all e-mail servers

Image 13

Click OK and it processes on the background and of the processes involved is setting up security properties on the Drop Folder which I mentioned in step 4, sometimes that fails (this happens very rarely), so it best to check if that indeed worked by going to the Security Properties of the Drop Folder.

Make sure the security properties are such:

  • WSS_Admin_WPG – Full Control
  • WSS_WPG – Read & Execute / List folder Contents / Read

Image 14

7. Configure Your Sharepoint List Incoming E-mail Settings

Now configure your list to accept that emails, to do that, choose a list (it will only work on some list types), Calendar or Document Library, then go to Communications->Incoming e-mail settings.

Image 15

Then set up the following:

  • Allow this list to receive e-mail? -> Yes
  • E-mail address: > The email address you want, this will be automatically routed once it hits the domain so no need to create it on Exchange
  • Save e-mail attachments? -> Yes, if you want to
  • Save original e-mail? -> Yes, if you want to
  • Save meeting invitations? -> Yes, if you want to
  • E-mail security policy: -> Accept e-mail messages from any sender

Image 16

Click OK, now you are all done, all you have to do is test.

8. Testing Time

Send and email to the one you configured in step 7.

Image 17

Check the Drop Folder mentioned in Step 4 and an email (.eml) file will be there while it's being processed.

Image 18

Once it disappeared, check your list and the email should be there.

Image 19

Congratulations!  You made it.  Now if you have that creativity. You can now do all sorts of stuff with a combination of workflow which is discussed here.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
New Zealand New Zealand
http://nz.linkedin.com/in/macaalay
http://macaalay.com/

Comments and Discussions

 
QuestionIs it possible to change the view of the incoming emails? Pin
okbatt16-Feb-18 10:03
okbatt16-Feb-18 10:03 
QuestionWhat are the prerequisites for this to work? Pin
abdul120-Nov-12 19:48
abdul120-Nov-12 19:48 
QuestionDoesn't work Pin
Member 951671215-Oct-12 15:39
Member 951671215-Oct-12 15:39 
QuestionConfiguring Sharepoint 2010 to Accept Incoming Emails Pin
rashmi040530-Nov-11 10:35
rashmi040530-Nov-11 10:35 
AnswerRe: Configuring Sharepoint 2010 to Accept Incoming Emails Pin
Raymund Macaalay30-Nov-11 11:03
Raymund Macaalay30-Nov-11 11:03 
Something is wrong with the installation, you need to be logged on as an Administrator on the server, install Windows Process Activation Service and Disable User Account Control.
GeneralConfiguring-Sharepoint-2010-to-Accept-Incoming-Email in the "announcements" Pin
Rod7215-May-11 23:45
Rod7215-May-11 23:45 
GeneralRe: Configuring-Sharepoint-2010-to-Accept-Incoming-Email in the "announcements" Pin
Raymund Macaalay16-May-11 10:02
Raymund Macaalay16-May-11 10:02 
GeneralRe: Configuring-Sharepoint-2010-to-Accept-Incoming-Email in the "announcements" Pin
Rod7216-May-11 10:05
Rod7216-May-11 10:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.