Author |
|
ryan.luxor Newbie
Joined: 11 June 2012 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 11 June 2012 at 2:27pm | IP Logged
|
|
|
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?
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 11 June 2012 at 11:06pm | IP Logged
|
|
|
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.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
ryan.luxor Newbie
Joined: 11 June 2012 Location: Canada
Online Status: Offline Posts: 2
|
Posted: 12 June 2012 at 6:50am | IP Logged
|
|
|
Thanks very much
|
Back to Top |
|
|