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); } }
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); } }