Cannot use SharePoint to send an email to a list or library
MOSS 2007 allows for the ability to send emails (incoming email) to Document Libraries and Discussion lists etc., so that content is automatically populated in these lists and libraries.
Sharepoint also allows the ability to send out emails (outgoing email) for things such as Content Deployment jobs.
We put 2 & 2 together and thought – “Why don’t we setup a list called ‘Alerts’ that will receive daily emails from our Content Deployment job? That way whoever wants to receive these can setup an ‘Alert’ on the Alerts list”. It was an excellent idea except for the fact that it DIDN’T work!
After a bit of snooping around it turns out that Sharepoint doesn’t like receiving email from itself! Here is the email that was dropped into the SMTP drop folder and was picked up by the timer service-
1: x-sender: ALERTS@computer.domain
2: x-receiver: ALERTS@computer.domain
3: Received: from computer ([127.0.0.1]) by computer.domain with Microsoft SMTPSVC(6.0.3790.1830);
4: Wed, 22 Aug 2007 17:50:37 -0400
5: Date: 22 Aug 2007 17:50:37 -0400
6: From: <ALERTS@computer.domain>
7: To: <ALERTS@computer.domain>
8: Content-Transfer-Encoding: 8bit
9: Content-Type: text/html; charset=utf-8
10: Subject: JOB FAILED: Content deployment job 'INCREMENTAL deploy' started at 8/22/2007 5:50:31 PM
11: MIME-Version: 1.0
12: X-Mailer: Windows SharePoint Services (version 3)
13: Return-Path: ALERTS@computer.domain
14: Message-ID: <computerXvpFVjCR00000005@computer.domain>
15: X-OriginalArrivalTime: 22 Aug 2007 21:50:37.0488 (UTC) FILETIME=[79882B00:01C7E506]
16:
17: The content deployment job 'INCREMENTAL deploy' on path 'Dev to Production' failed. A detailed report is available at: <a href="http://computer:8000/_admin/DeploymentReport.aspx?ReportId=77b99034-ba11-4072-9983-ba1ee4dc8483" >http://computer:8000/_admin/DeploymentReport.aspx?ReportId=77b99034-ba11-4072-9983-ba1ee4dc8483</a>
Notice on Line 12 that the X-Mailer is “Windows SharePoint Services (version 3)”. This email was REJECTED after being picked up
So I replaced the X-Mailer header with Outlook Express’s X-Mailer header-
1: x-sender: ALERTS@computer.domain
2: x-receiver: ALERTS@computer.domain
3: Received: from computer ([127.0.0.1]) by computer.domain with Microsoft SMTPSVC(6.0.3790.1830);
4: Wed, 22 Aug 2007 17:50:37 -0400
5: Date: 22 Aug 2007 17:50:37 -0400
6: From: <ALERTS@computer.domain>
7: To: <ALERTS@computer.domain>
8: Content-Transfer-Encoding: 8bit
9: Content-Type: text/html; charset=utf-8
10: Subject: JOB FAILED: Content deployment job 'INCREMENTAL deploy' started at 8/22/2007 5:50:31 PM
11: MIME-Version: 1.0
12: X-Mailer: Microsoft Outlook Express 6.00.3790.2929
13: Return-Path: ALERTS@computer.domain
14: Message-ID: <computerXvpFVjCR00000005@computer.domain>
15: X-OriginalArrivalTime: 22 Aug 2007 21:50:37.0488 (UTC) FILETIME=[79882B00:01C7E506]
16:
17: The content deployment job 'INCREMENTAL deploy' on path 'Dev to Production' failed. A detailed report is available at: <a href="http://computer:8000/_admin/DeploymentReport.aspx?ReportId=77b99034-ba11-4072-9983-ba1ee4dc8483" >http://computer:8000/_admin/DeploymentReport.aspx?ReportId=77b99034-ba11-4072-9983-ba1ee4dc8483</a>
And Lo and Behold, this email was picked up and processed and it showed up in my Alerts list!
I’m not sure if this is a bug or not because one can imagine a scenario where an alert for a list goes out to the same email address as the incoming email address for the list. The developers were probably trying to prevent an infinite loop in such a scenario. However, that means that even for all legit purposes, you CANNOT HAVE SHAREPOINT EMAIL ITSELF.
Pages
What I'm Doing...
- What if Apple Designed SharePoint?: http://t.co/HmHXDXUV 3 days ago
- More updates...
Archives
- December 2011
- August 2011
- June 2011
- April 2011
- March 2011
- September 2010
- August 2010
- July 2010
- May 2010
- February 2010
- January 2010
- November 2009
- March 2009
- January 2009
- April 2008
- March 2008
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- March 2007
- February 2007
- December 2006
- October 2006
- September 2006
- August 2006
- June 2006
- May 2006
- April 2006
- March 2006
- December 2005
- September 2005
- August 2005
- June 2005
- April 2005
- March 2005
- February 2005
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- March 2004
- September 2003
- August 2003
- April 2003
Categories
- Chromium OS
- Internet Explorer 7
- Kwizcom
- Miscellaneous
- Movies
- MS Office
- Music
- Night on the Town
- Office 2007
- Outlook 2007
- Pictures
- Products/Shopping
- Recovered Entries (01/19/2005)
- Restaurants/Food
- Sharepoint 2007 ( MOSS / WSS )
- Sharepoint 2010 (SPS / Foundation)
- Tech
- The Law
- TV
- Uncategorized
- Video Games
- Vista
- Visual Studio 2010
- VMWARE
- VMWARE Server 2.0
- Website
- Windows Live
- Work
- XP




