Challenge:
We are using a service called Roam Secure Alert Network to notify subscribers about any news needs immediate attentions. These alerts can be posted through Web, Email and SMS. And the subscriber can receive alerts with emails, phone text messages.
Recently we need an internal SharePoint web page to be developed to show all these alert messages. Since the Roam Secure system is not part of our system, and did not provide any RSS feeds due to secure concerns. We could not set up any data connection to retrieve these message from their system.
The simple way is to use the Incoming email feature of SharePoint to post these messages in a new list.
Here is the simple how-tos.
Step 1), Get the SharePoint server ready to accept incoming emails.
A good start point is the Microsoft TechNet article http://technet.microsoft.com/en-us/library/cc287879.aspx. For me, since I do not need to create new group or distribution list from SharePoint. I skipped Active Directory configurations and just did the following:
1), Install and configure the SMTP service on the SharePoint application server;
2), Configure incoming email settings on the SharePoint Administrative Center. (Operations –>On the Operations page, in the Topology and Services section –> click Incoming e-mail settings –> in the Enable Incoming E-Mail section, click Yes.)
Step 2), Configure the internal DNS to route the incoming emails.
To allow emails to reach the SharePoint server, we have to add a MX record of the SharePoint server in our internal DNS entries. Assume the subdomain name of our SharePoint server is sharepoint.mycompany.com.
-
In DNS Manager, select the forward lookup zone for the domain that contains the subdomain for Windows SharePoint Services 3.0.
-
Right-click the zone and then click New Mail Exchanger.
-
In the Host or domain text box, type the host or subdomain name sharepoint.mycompany.com) for Windows SharePoint Services 3.0.
-
In the Fully qualified domain name (FQDN) of mail server text box, type the fully qualified domain name for the server that is running Windows SharePoint Services 3.0. This is typically in the format sharepoint.mycompanycom.
-
Click OK.
Step 3), Configuring incoming e-mail on SharePoint sites
To allow SharePoint sites to post incoming emails, you can refer to MS Office Online http://office.microsoft.com/en-us/sharepointserver/HA100823071033.aspx?pid=CH101237651033
For me, I use SharePoint list to display alert messages. So I do the following:
- Create a custom list on the SharePoint site.
- Open the list above, Click Settings, and then click List Settings.
Under Communications, click Incoming e-mail settings. - In the E-Mail section, choose Yes to enable this list to receive e-mail, and then type the alias that you want to use to send e-mail to this list. In my example, I typed alerts@sharepoint.mycompany.com.
- Finish other settings per the instruction aside.
- Click OK to save your settings.
Now, you can test to send an email from your inside network, and if you can see that email published on the list above, then you are successful for now.
Step 4), Configure Exchange to accept external incoming emails to the SharePoint list.
The last question is how people outside of company network send emails to the SharePoint list. Since the alias above (for example, alerts@sharepoint.mycompany.com) is not a public email address. Usually the email address for the public communication is *@mycompany.com without the subdomain.
Here is what I do.
- Create a Contact in the Exchange with the alias alerts@sharepoint.mycompany.com.
- Create a distribution group named alerts@mycompany.com.
- Add the alerts@sharepoint.mycompany.com as a member of this new distribution list of alerts@mycompany.com.
- Make sure the distribution list has a owner, and configure any spam filter system to make sure emails can be delivered to the distribution list.
In this way, we can use the new distribution list (alerts@mycompany.com) in the Roam Secure subscription list. And any emails sent to the distribution list will be forwarded to the SharePoint incoming email alias with subdomain (alerts@sharepoint.mycompany.com). Therefore these emails will be published to the SharePoint list automatically.
Tags: Incoming emails, SharePoint
Good article.
[Reply]
Thanks for sharing this information with us its very useful for us
[Reply]
Hello ,
This is a nice article although I have not tested it yet . Well thats all about saving an incoming e-mail in SharePoint List . I have a similar requirement regarding SMS .
How to save an incoming SMS in a SharePoint 2010 list and then process on that SMS and auto reply back with the matched content back to the sender ? Does anybody have any idea about this ?
Basically I want to develop a SMS based online dictionary .
User will send a SMS containing an unknown word ( for e.g. Spanish word ) to the short code provided by Website and then Short code provider will forward that SMS to OMS ( OutLook’s/SharePoint’s inbuilt feature = Office Mobile Service , with which you can send SMS/ e-mail alerts) Provider .
OMS service provider will forward that SMS to dont know to whom , I am totally unaware about this thing .. But from whatever destination that SMS may reach , it should be saved into SharePoint List . SharePoint List will contain a Wordlist and meanings of those words … then Search should take place where meaning of that word should be matched and then a new SMS should be generated and it should be sent back to Sender Number via the same path through which it was received.
Does anybody have any idea about my requirement and how should I approach to the solution of this particular project . My team Leader wants a POC of this project and not a complete project .. just for showing something to the customer ..
I have been searching for this thing since last 10 days or so and so far I have found no viable solution for this . I am a new SharePoint developer ( totally beginner ) and I have no what so ever idea about this thing . If it was in ASP.NET then I would have used web services and APIs given by various site and would have developed this solution .. BUT SharePoint seems to be an alien thing to me ..
I AM SO HELPLESS and I NEED and urgent HELP .. Has anyone developed simmilar solution in the past …
[Reply]