示例#1
0
 public MAPIclass()
 {
     try
     {
         session = new MAPISession();
         Dictionary<string, bool> msgStores = session.GetMessageStores();
         foreach (KeyValuePair<string, bool> e in msgStores)
         {
             helpers.addLog(e.Key + "/" + e.Value.ToString());
         }
     }
     catch (Exception ex)
     {
         helpers.addLog("Exception: " + ex.Message);
     }
 }
示例#2
0
 public MAPIclass()
 {
     try
     {
         session = new MAPISession();
         Dictionary <string, bool> msgStores = session.GetMessageStores();
         foreach (KeyValuePair <string, bool> e in msgStores)
         {
             helpers.addLog(e.Key + "/" + e.Value.ToString());
         }
     }
     catch (Exception ex)
     {
         helpers.addLog("Exception: " + ex.Message);
     }
 }