|
I have a VB.Net front end application that connects to our hMailServer via IMAP using IDLE. Initially I set the IDLE timeout to 20 minutes because of the RFC documentation stating 29 minutes is a best practice. At the moment I keep getting disconnected. I have code that imediately reconnects and logs in. I also have another application running that connects to a 3rd party mail server. The 3rd party server sends a response to my streamreader "* OK still here" every 2 minutes letting my application know that I'm still connected to the server via IDLE. hMailServer does not let me know that I'm "still" connected. I do get the "+ idling" response when I start idling, but nothing further until I send a message or I get an email on the server. Is there a VBScript that I could right that would respond to any IDLE session letting the client know that the idle session is still operational?
I can give the VB.Net code samples if needed for what I'm doing. It's a Basic TCP Client Network Stream with StreamWriter and StreamReader.
|