Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: IDLE Script
PostPosted: 2012-04-05 00:49 
New user
New user

Joined: 2012-03-23 05:28
Posts: 13
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 2 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group