How to read Outlook Inbox mails using openxml
-
Wednesday, August 08, 2012 7:37 AM
Hello,
I have an ASP.NET Server Application and I need to read Outlook messages from it. I read that Microsoft recommends using Office from a server by working with the Open XML format and not the Outlook API. Can someone please give me a sample of how to do that?I'm getting below exception,
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)).
the service is running on my machine but fails to run on server or any other machine. I feel that service might require some permission, if so please let me know how to assign permissions to windows service.
Please advice asap.
Thanks.
All Replies
-
Wednesday, August 08, 2012 11:44 AM
Hi sanjeev.sharma,
Open xml can't handle email's issue. It only handle WordproessingDocument, SpreadsheetDocument, PresentationDocument.
T.X.
- Proposed As Answer by Tom_Xu_WXModerator Wednesday, August 08, 2012 11:44 AM
- Marked As Answer by Kazunori Matsuura (MSFT)Owner Friday, August 10, 2012 2:25 PM
-
Tuesday, August 21, 2012 6:54 AM
Hi Tom_Xu, Thanks for reply, can you suggest any alternate method for reading outook mails from server side.
Thanks
Sanjeev

