login about faq

How can i maintain a continuous connection with imap/pop server?

asked Jul 09 '14 at 04:00

Bhagyashree's gravatar image


The ReadTimeout property applies to the Login method exactly the same as it applies to any other method. The online reference documentation was updated to make this more clear:

The ReadTimeout is the maximum amount of time (in seconds) that incoming data is allowed to stall while reading any kind of response from an IMAP server. This is the amount of time that needs to elapse while no additional response bytes are forthcoming. For the case of long responses, if the data stream halts for more than this amount, it will timeout. This property is not a maximum for the total response time, but only a maximum for the amount of time while no response arrives.

To maintain a continuous connection, you might periodically send a NOOP command (via the Noop method) to keep the server from closing an idle connection. Alternatively, you might use the IDLE functionality (see the online reference documentation and examples)


answered Jul 16 '14 at 09:25

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 09 '14 at 04:00

Seen: 718 times

Last updated: Jul 16 '14 at 09:25

powered by OSQA