The Exception is "Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE))."
public static void ReadMail() { try { Outlook.Application myApp = new Outlook.Application(); mapiNameSpace = myApp.GetNamespace("MAPI"); ....some coding here... } catch (Exception ex) { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)