| Author |  | 
      
        | ryan.luxor Newbie
 
  
  
 Joined: 11 June 2012
 Location: Canada
 Online Status: Offline
 Posts: 2
 | 
          I have read data from the email server. After I do something with those data, try to read more data from the email server, an exception out to show the connection has been forceibily closed by remote server, but the imap status is still connected. How can I get the status instantly?
           | Posted: 11 June 2012 at 2:27pm | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6167
 | 
          This is an expected behavior as IsConnected property contains the status pertaining to last data request from server, and the only way to check current status is to make a new data request. That can be any command, e.g. Noop, and if you're not getting any exceptions that means the connection is still up.
           | Posted: 11 June 2012 at 11:06pm | IP Logged |   |  
           | 
 |  
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | ryan.luxor Newbie
 
  
  
 Joined: 11 June 2012
 Location: Canada
 Online Status: Offline
 Posts: 2
 | 
          Thanks very much
           | Posted: 12 June 2012 at 6:50am | IP Logged |   |  
           | 
 |    | 
       
        | Back to Top |     | 
       
       
        |  |