We are trying to communicate with server using IMAP and POP3 protocols. Server is configured with TLS 1.1.
Following property we have set to connect to the server:
ImapClient imap = new ImapClient(server, port, user, pwd,SecurityOptions.SSLImplicit);
Above line executes successfully and we got the ImapClient object. Now using the same object we are trying to read the folder info using below property which is throwing an exception:
Below is the exception:
“Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.”
P.S: We were successfully able to connect and fetch the required information from the server when server is configured for TLS 1.0 (( Here ‘SelectFolder’ api works fine ) ) but as soon as we move to higher TLS versions, started seeing above exception.
Any help is highly appreciated regarding any specific property/method need to be set to enable for TLS 1.1 and TLS 1.2.