IMAP GetMessage() throwing Timeout exception, are you sure the timeout value is 60 seconds?

0 votes
asked Jul 17 by dsouzac (360 points)

are you sure the timeout limit is 60 seconds?

With IMAP, we are facing exceptions as ‘Timeout exceeded’ and ‘An existing connection was forcibly closed by the remote host’ for GetMessage() method after 30th second.

sometimes getmessage() method is taking more than 30 seconds to download an email so IMAP is throwing an exception as,

‘Timeout exceeded’ and ‘An existing connection was forcibly closed by the remote host’.

Can you suggest what to check for it? and in one of the question you have answered that default value is 60 seconds, so is it correct?

related to an answer for: Rebex.Imap Timeout Issue
Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Jul 17 by Lukas Matyska (37,860 points)

The default for Timeout should be 60 seconds.

Can you please post here log of the communication so we can see operation timings? Or send it to support@rebex.net alternatively.

Please note, that ‘An existing connection was forcibly closed by the remote host’ error is not time out related. It refers to closed connection. There is no use to wait until timeout for lost connections error. Such errors are reported immediately.

...