1
Answer

How to open outlook using c#

.I had an issue to open outlook (with attachment) in multiple browsers. But could not be achieved this so I tried this dll (Microsoft.Office.Interop.Outlook) and found this is working fine at local environment.
 
When I deployed it on the testing environment then getting below error.
 
Note- Outlook is not configured on the testing environment.
 
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)).
 
Can you please help me on this. 
 
Answers (1)
0
Zakir Ahamed

Zakir Ahamed

NA 1.7k 33.7k 7y
Use This URL: 
 
https://stackoverflow.com/questions/6148639/how-to-open-outlook-new-mail-window-c-sharp
 
https://www.codeproject.com/Questions/131150/how-to-open-MS-Outlook-using-C
 
https://stackoverflow.com/questions/27421967/how-to-run-outlook-using-process-startoutlook-exe-and-get-the-control-back
 
http://www.c-sharpcorner.com/article/sending-emails-through-outlook-using-C-Sharp-and-VB-Net/