Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: no imap status update! Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
ryan.luxor
Newbie
Newbie
Avatar

Joined: 11 June 2012
Location: Canada
Online Status: Offline
Posts: 2
Posted: 11 June 2012 at 2:27pm | IP Logged Quote ryan.luxor

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 View ryan.luxor's Profile Search for other posts by ryan.luxor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 11 June 2012 at 11:06pm | IP Logged Quote Igor

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 View Igor's Profile Search for other posts by Igor
 
ryan.luxor
Newbie
Newbie
Avatar

Joined: 11 June 2012
Location: Canada
Online Status: Offline
Posts: 2
Posted: 12 June 2012 at 6:50am | IP Logged Quote ryan.luxor

Thanks very much
Back to Top View ryan.luxor's Profile Search for other posts by ryan.luxor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide