.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

SharePoint 2010 Incoming Email cannot process email file attachment in email with less than sign < a

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :SharePoint

When sending an email which contains an email attachment such as "Hello <World>.msg" from Outlook to SharePoint 2010 email enabled list such as an "Announcements" list, no item is created in the list and the attached email and the orginal email are not saved.

The log file contains

09/23/2010 13:51:17.54  OWSTIMER.EXE (0x18FC)                    0x0B2C SharePoint Foundation          E-Mail                         6873 Warning  An error occurred while processing the incoming e-mail file C:\inetpub\mailroot\Drop\f17ce37101cb5b600000002a.eml. The error was: Illegal characters in path.. 9f265722-74c9-4bd8-9504-ac265f2351d7

View Complete Post

More Related Resource Links

SharePoint 2010 Incoming Email cannot process file attachment with zero size.


When sending email with attachments to SharePoint list, if one of the file attached to the email is of size 0, then none of the files will be saved and NO new item will be created in the list.

The SPEmailHandler's ProcessAttachment method should check the length of the "contentStream". If the length is 0, it should return immediately.

As you can see in the ProcessAttachment method none of the arguments are validated before they are used. This an example of poor quality code.

It should do at least

if (contentStream == null || contentStream.Length == 0) return;

if (string.IsNullOrEmpty(fileName) || item == null) return;


private static void ProcessAttachment(Stream contentStream, 

Configure Incoming Email in SharePoint 2010 with a remote (public) SMTP Server

I have a standalone SharePoint 2010 Installation on my local network. Have configured the SMTP Services and a SMTP domain called "internalcompany.com". Created a hosts file entry also for that - now outlook is able to send emails to this domain; it reaches the drop folder and from there SharePoint picks it up and pushes to the document libraries. So far so good. But obviously this is not what I want to do: my www.company.com is my public domain and mail server is mail.company.com - how do I get the local SMTP point to this address - so that if someone sends an email to shareddocs@company.com (just like any other normal id), it comes to my local server and then SharePoint. How do I do this? Remember, my server is standalone and my network is not domain based and does not have exchange.Karthick

SharePoint 2010 Incoming Email Unique Files are Not Created.


SharePoint 2010 Incoming Email Unique Files are Not Created. 

Description: In SharePoint 2010, when the document library is configured to receive incoming emails, the email attachments sent to document library should be saved as files. When files with same names received, the files should be saved with unique names.

Bug: The files with same names are dropped by SharePoint timer services. If the file with the name already exists in the document library, the newer file will not be saved.

Reason: In the SharePoint log, there is an error about "AddUniqueFile failed to create a file or folder. Filename: Dell Order 001.pdf Errorcode: -2130575305"

Checking the errorcode -2130575305, it is about "saveconflict", ErrorCode=-2130575305.

Error setting up incoming email SharePoint 2010



We are setting up incoming email for SharePoint 2010. We have created the OU SharePoint Contacts and enabled delegate control using the user (XYZ\sharepointadmin) which is the identity for the SharePoint Central Administrator application pool.

We delegated the following tasks (account create delete and manage user accounts)

Our Domain Controller Server 2003

Domain Name is: XYZ.local

Configuration for incoming Mail

sharepoint 2010 Document Library - Email as attachment


I am disappointed to see that SharePoint 2010 does not appear to offer the ability to send a document from a document library as an attachment.  We use Sharepoint to control our documents as such we forbid, by policy, storing local copies of documents as there is no way to ensure that they are the current version (cached local kept in sync with a sharepoint library is allowed).  When Sales, Marketing, Customer Service wants to send a set of documents to a customer, they currently copy all the documents they need to a temp folder on their computer, attach all the documents from the folder to an email, then delete the temporary folder.  

I was hoping with all the improved integration, that the library and more valuable would be a view of the library (as it is filtered and sorted) would be accessible to use when selecting attachments. Or the reverse - select a set of documents from a library view and choose email as attachment.    

 The closest options I have come up with is to open the library in explorer which allows dragging and dropping the documents into the email, but there does not appear to be a way to search or filter the items in the explorer view of the library. 

Help me out, is there a better way to do this?  Can Sharepoint workspace help me here?   This is a common complaint at my o

sharepoint 2007 incoming email

Hi all… Configuration incoming email: 1-      Central administration àoperations -àincoming email-à fill all fields 2-      Document setting  à incoming email appeared àconfigure the incoming email And identify the email. It‘s supposed to be like that:  When any one sends email with document attachment to the pervious email this attachment is added to document library. But, it doesn’t work.  are there any other steps ? Thanks

Incomming Email Not Working Correctly in SharePoint 2010

Hello everyone, We recently upgraded from SharePoint 2007 to 2010. Prior to the upgrade I had two SharePoint Document libraries setup to receive incoming emails. We had two reports scheduled in Reporting Services and each report emailed a document library once a week. After the upgrade this stopped working. The reason this stopped working was because the file names of the attachments were the same each week, however in 2007, sharepoint would append a random 4 digits to the end of the file name. Was the removed from 2010 on purpose? After discovering this didn't work, I decided to create a workflow on these lists that anytime and item is added go change the file name to include the list ID to ensure that the file names will be unique. Only to find out that items added to the list from the incomming emails do not trigger the workflow. Doing some research on this and it looks like it was turned into Mircosoft as a bug in 2007 which had a fix, but the fix is only for 2007 is doesn't say it applies to SharePoint 2010 so I don't want to install it. Anyone know if there is a fix for this in SharePoint 2010? Thanks in advance, Matt

windows server with sharepoint incoming email

Hi all... I need to configure incoming email in sharepoint but I didn't configure the smtp email in server2003 how can i confiure email without active directory , I need to use email to recieve email in sharepoint but sharepoint didn't connect to active directory , it connect to form authentication (users in sql DB) so please, what's steps? Thanks

SharePoint 2010 email enabled list with workflow has incorrect User ID when items are emailed to the

I have set up an approval workflow for a document library that has email enabled. Emails come into the document library fine, however, if an item is emailed to the library the workflow kicks off with the initiator as "System Account" rather than the person who submitted the email. This makes the error of "The e-mail message cannot be sent. Make sure the e-mail has a valid recipient." come up. If someone submits a document directly to the library (by logging into sharepoint and submitting) everything works fine. The person submitting by email is a valid sharepoint user and the profile shows the correct email address. The Created by and Modified by fields show the correct person (rather than System Account), it's only the workflow User ID that shows incorrectly if document is emailed to library. Any help or ideas would be appreciated. Thanks

How do you extract data from the xml attachment of an incoming email and set it as metadata in a doc

Hi, I currently have a document library that contains InfoPath forms. As a form is loaded into the document library I need the data to be extracted from the infopath file and then set as properties/metadata of the file. The infopath forms will be sent to the SharePoint site as an email attachment. So basically, an email is sent to the SharePoint server with an InfoPath form as an email attachment. The InfoPath form needs to be extracted from the email and uploaded to the document library and at the same time updating the document library metadata with the infopath form data. This has been done using Visual Studio but can this be done using SharePoint Designer 2010 now that we have upgraded our site to SharePoint 2010? Any guidance will be greatly appreciated! Thanks Michael

Incoming email to SharePoint - what am I missing?

I am able to send email from the internet to my Exchange box yet unable to send to SharePoint libraries and lists.  I want users to send to the addresses of mylibrary@work.net, yet my Exchange domain and box name is domainex.domain.com and my SharePoint box is named domainsp.domain.com.   Here are my settings: SharePoint Box Name:   domainsp.domain.com Central Admin incoming mail settings:  server field is set to domainsp.domain.com, friendly email address is set to mylist@mywork.net Incoming mail settings on library: set to receive mail at libraryname@mywork.net Exchange Box Name:  domainex.domain.com Attended domain:   mywork.net Send connector address space: domainsp.domain.com (sharepoint box) Send connector smart host: domainsp.domain.com (sharepoint box) Mail contact: SMTP external address of libraryname@mywork.net   DNS MX record of mywork.net pointing to Exchange box   I'm sure something is wrong, but I'm not sure what! My bounceback email tells me that the mailbox of mylibrary@work.net is unavailable or not local.  Giving up on <ip address for exchange box>.   Please help!  I don't know what to do next!  

Sharepoint 2010 WorkFlow Task AssignedTo Windows Group doesnt send email notification

Hi, Which configuration would prevent sharepoint to send a notification when a workFlow task is assigned to a Windows Group with an email ? The same task with a single User send a notification. Thanks, Patrice      

How To Save Pdf File In Client's Computer For Sending As Email Attachment


Hello everybody.

The subject of this thread is my question and I am really very sorry, I cannot brief it. I have generated the pdf file which contains text taken as input by various web-form and have saved it in my local drive then sended it to some email addresses. Now I want to know that how can I save it in client computer and send it to some email addresses provided by Client on demand?

I am failed to solve this problem as I don't know how to get INFORMATION OF CLIENT'S LOCAL DRIVE AS CLIENT MAY USES DIFFERENT OPERATING SYSTEM.

Any information will be very helpful to me.

Thank you.

Email not sending out in Sharepoint 2010


I have installed SharePoint Std 2010 and the emails are not sending out. I originally was trying to get the email to send out through the local Exchange server with errors popping up on both servers. Even though I had told the exchange server to allow for anonymous email from the SP Server it was not allowing it. The Sharepiont Server would log an error that it could not connect to the Exchange server.

I have installed the SMTP service on the SP server and configured it as the Microsoft Technet article says to. (Basically allow for anonymous for the outbound for the server. I can't get the SP Server to send any email out of the system. It will not send email from alerts, workflows or adding users the site.

It goes through the motions and there are no longer any errors coming up at all, but no emails either.

Any help would be great.


Incoming email, when trying to view a eml file it only display the save and cancel buttons


I have a list which accepts incoming emails.  The original email is saved to this list as a eml file.  Why is it when I click on this file it asks me to save the file to my computer without the option to open?  I would like outlook express to open this email instead of downloading it.  I can download it and then double click the eml file which outlook express then opens.


How to get Email of Current User Data View Web Part Sharepoint 2010 and pass to WebService data sour

I have to pass in the email address of the current user to a web service data source (run time) of a Data View Web Part.

My Question is:

a) How can I get Email address of current user based  in DVWP.
I know we can get the CurrentUser using the CurrentUserName but how do we get the Email for the Current User.

b) After getting the Email how do we pass to the Web Service.

Yahoo - Google Apps Email Authentication in SharePoint 2010


There is idea about the use of the Form Based Authentication by the Google Apps Email ID.

Like I am employee of the ABC company which has Google Apps and Member of the Developer Team

so My ID is kashyap@abc.com in Google Apps.

So Is it possible to authenticate coming user to site with the ABC's Employee via Google Apps?

We can also think about oAuth Authentication.

How can we configure the authentication?

I need Ideas and suggetions

Thank You

Regards, Kashyap Patel http://interview-question-aspnet.blogspot.com/
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend