enough_mail icon indicating copy to clipboard operation
enough_mail copied to clipboard

Get Information about used TLS Version?

Open xxjonesriderxx opened this issue 4 years ago • 3 comments
trafficstars

Is it possible to retrieve information about the tls version which was used to connect to the smtp server when sending an email?

xxjonesriderxx avatar Oct 06 '21 17:10 xxjonesriderxx

Instead of client.connectToServer(...) you can also create your own socket and call client.connect(socket, connectionInformation: ConnectionInfo(host, port, isSecure)). In this way you can control every aspect.

I hope this helps?

robert-virkus avatar Oct 06 '21 18:10 robert-virkus

Im already using client.connect this is establishing an connection wich some TLS version. I only need to know which TLS version it used to establish this connecton. Do you now if this is possible?

xxjonesriderxx avatar Oct 23 '21 08:10 xxjonesriderxx

Hi, nope sorry, I don't know if or how this is possible, I assume this is not SecureSocket.selectedProtocol, right?

robert-virkus avatar Oct 24 '21 11:10 robert-virkus