Question - Should I use SPItemReceiver or SPEmailEventReceiver

Posted by RiverStorm on Stack Overflow See other posts from Stack Overflow or by RiverStorm
Published on 2011-01-01T01:33:54Z Indexed on 2011/01/01 1:54 UTC
Read the original article Hit count: 455

Hello,

I have custom SharePoint Document Library which I use to upload spreadsheet data into a database. When a spreadsheet is uploaded, the SPItemReceiver triggers, and upload the data. Now, I would like to add an incoming email feature to the document library.

My question is...after the document library has received the spreadsheet by email. Should I use the override-able method EmailReceived of the SPEmailEventReceiver to process the data in the spreadsheet or still use the SPItemReceiver?

I gather I could use either, but I would like to know your opinion which is better and why.

Thanks in advance

© Stack Overflow or respective owner

Related posts about visual-studio-2010

Related posts about sharepoint2010