When we connect to the server use the method imap.Connect(serverName, port, isUseSSL), and isUseSSL is true, so the connection is setup with SSL due to the documentation.
My question is in this case, to support TLS, do we still need to explicitly call imap.StartTLS() so that TLS is enabled? Or when isUseSSL is true, the SSL connection set up already support the higher version TLS or manually start tls is still needed?
In short, to connect to a server with SSL/TLS, which snippet is better?
imap.Connect(serverName, port, isUseSSL);
imap.StartTLS();
or
imap.Connect(serverName, port, isUseSSL);