예제 #1
0
 public void ChangeFolder(GXMAPISession session, string strFolder)
 {
     try
     {
         ChangeFolder(strFolder);
     }
     catch (GXMailException exc)
     {
         session.HandleMailException(exc);
     }
 }
예제 #2
0
 public void Send(GXMAPISession session, GXMailMessage msg)
 {
     try
     {
         Send(msg);
     }
     catch (GXMailException exc)
     {
         GXLogging.Error(log, "Send error", exc);
         session.HandleMailException(exc);
     }
 }
예제 #3
0
 public void Receive(GXMAPISession session, GXMailMessage msg)
 {
     try
     {
         Receive(msg);
     }
     catch (GXMailException exc)
     {
         GXLogging.Error(log, "Receive error", exc);
         session.HandleMailException(exc);
     }
 }
예제 #4
0
 public void MarkAsRead(GXMAPISession session)
 {
     try
     {
         MarkAsRead();
     }
     catch (GXMailException exc)
     {
         GXLogging.Error(log, "MarkAsRead error", exc);
         session.HandleMailException(exc);
     }
 }
예제 #5
0
 public void Logout(GXMAPISession session)
 {
     try
     {
         Logout();
     }
     catch (GXMailException exc)
     {
         GXLogging.Error(log, "Logout error", exc);
         session.HandleMailException(exc);
     }
 }
예제 #6
0
 public void Delete(GXMAPISession session)
 {
     try
     {
         Delete();
     }
     catch (GXMailException exc)
     {
         GXLogging.Error(log, "Delete error", exc);
         session.HandleMailException(exc);
     }
 }