Insert incoming email subject to document library field
Hello all, I have configured incoming Email settings for a document library. And i have sent email to the document library and checked itz working fine and the item with the attachment saved to the document library. Now i have a field called Job No in this document library, so i have to read the subject of incoming mail and need to save in the Job No field of that particular Item...... How can i do that...? Please help me.... Regards, Nowshad
January 29th, 2011 1:57am

You cannot do this through out of the box features. You need to write a custom event handler to accomplish this task. Thanks, DipDip http://dzeee.net/sharepoint
Free Windows Admin Tool Kit Click here and download it now
January 29th, 2011 1:39pm

Hi Nowshad, Hi, You could use the SPEmailEventReceiver class and override the EmailReceived method to parse the email message and populate the document library fields with data from email Sample public class EmailParser : SPEmailEventReceiver { public override void EmailReceived(SPList list, SPEmailMessage emailMessage, string receiverData) { try { } catch(Exception ex) { } } } Refer the below article for a complete solution with code. http://pholpar.wordpress.com/2010/01/13/creating-a-simple-email-receiver-for-a-document-library My SharePoint Blog http://dhireny.blogspot.com
January 29th, 2011 2:34pm

We sovled a similiar issue using http://anurasoftware.com/ . AnuraSoftware's email solution allows sending email to a custom list and parsing data from email body. For example, if the email body contains "subject: This is project 1", the data will be enterred into column "subject". Ethan Deng
Free Windows Admin Tool Kit Click here and download it now
February 1st, 2011 6:41pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics