public void ChangeFolder(GXMAPISession session, string strFolder) { try { ChangeFolder(strFolder); } catch (GXMailException exc) { session.HandleMailException(exc); } }
public void Send(GXMAPISession session, GXMailMessage msg) { try { Send(msg); } catch (GXMailException exc) { GXLogging.Error(log, "Send error", exc); session.HandleMailException(exc); } }
public void Receive(GXMAPISession session, GXMailMessage msg) { try { Receive(msg); } catch (GXMailException exc) { GXLogging.Error(log, "Receive error", exc); session.HandleMailException(exc); } }
public void MarkAsRead(GXMAPISession session) { try { MarkAsRead(); } catch (GXMailException exc) { GXLogging.Error(log, "MarkAsRead error", exc); session.HandleMailException(exc); } }
public void Logout(GXMAPISession session) { try { Logout(); } catch (GXMailException exc) { GXLogging.Error(log, "Logout error", exc); session.HandleMailException(exc); } }
public void Delete(GXMAPISession session) { try { Delete(); } catch (GXMailException exc) { GXLogging.Error(log, "Delete error", exc); session.HandleMailException(exc); } }