Search This Blog

Thursday 11 April 2013

SP2013/2010: How to configure Incoming mail without Exchange for SharePoint 2010/2013

Hi,

This explains how to configure incoming mail without exchange. If you need to frd mail to SharePoint via exchange go to this post:
http://daniecsp.blogspot.com/2013/02/sp20132010-how-to-configure-incoming.html

Start of on your SharePoint Server:

You need to add and configure the SMTP service.

Goto your server manager, click on "Add Features"


Here you need to check "SMTP Server" and Then "Add Required Role Services"




This will install the SMTP server and required services.

Now you need to install IIS Management Console and requirements. IIS Should already be installed so that scroll down to Web Server(IIS) under your roles and then click on "Add role service"



Here you need to make sure the IIS6 Management Compatibility is all installed.



Now you need configure IIS.
Open IIS6, expand SMTP and click on domains.

Choose Alias on the next option and Next.
Now you need to type the domain name. In my case it is going to be servername.domain.com


Click finish.

Please remember to point your domains DNS MX record to the public ip of your server.
Screenshot here

Ok, next configure incoming mail under Central Admin.
Click on System Settings under Central Admin. Here should be Configure Incoming e-mail.( If not run IE as administrator)

Configure your settings to be the same as this screenshot:
Domain must be the same as the one you added under smtp.
Click OK.

Now you need to configure a list to except incoming mail.
Not all lists support incoming mail so under list settings, if there are no "Incoming email settings" it does not support incoming email.

Lists that do support incoming mail:
Document, picture, or form library
Announcements list
Calendar list
Discussion board
Blog


Add one of the above lists and go to list settings and incoming email settings.
choose Yes to allow the list to except email and enter i email alias.


Now it is to test.
send a mail to your list and you can monitor your drop folder. The e-mail will appear in the drop folder before SharePoint pick it up from there. Default path: C:\inetpub\mailroot\Drop

Once the file disappear from your drop folder it should be in your list.

Ps: i Have got a very strange error. If i send a mail from gmail to the list it gets to the list without an issue. If i send mail via our exchange server i get the following error:
"An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\eb18f2f601ce40c90000001d.eml. The error was: Access denied. You do not have permission to perform this action or access this resource.."
Dont have the solution yet but if i get it will prob add a new post and add link in here...



No comments:

Post a Comment