alank2 5 Posted Thursday at 04:07 PM I had a program using TIdSMTP that works fine on my Windows 10 box using ssleay32.dll/libeay32.dll version 1.0.1.13, but when I try to execute it on a Windows 11 box, it fails if I have TLS enabled. If I disable TLS, it will work with the SMTP service I am using (mailgun) and send the email. I found this page: https://docwiki.embarcadero.com/RADStudio/Rio/en/OpenSSL#32-bit_and_64-bit_Windows Which let me to downloading openssl-1.0.2r-i386-win32.zip which had the ssleay32.dll/libeay32.dll version 1.0.2.17 versions which now will work with TLS enabled - so these newer versions do solve this problem, but it says the zip is 5 years old at github. Is TIdSMTP set up to use openssl 1 ? I saw there was a version 3 on there with different DLL names. I rebiult my project (was in 10.3.3) in 12.3, but that made no difference. Share this post Link to post
DelphiUdIT 224 Posted Thursday at 05:53 PM You are using Indy component, and bundle version (like actually github too) distribuited with Delphi is able to use the openssl 1.0.2u version. If you want to use the new SSL (3.x) now , there are additional components for Indy like that distribuited on GETIT, for examples TAURUSTLS. 1 Share this post Link to post
Remy Lebeau 1568 Posted Thursday at 06:49 PM (edited) 3 hours ago, alank2 said: Is TIdSMTP set up to use openssl 1 ? I saw there was a version 3 on there with different DLL names. Indy in general (not just TIdSMTP specifically) indeed natively supports only up to OpenSSL 1.0.2, not OpenSSL 1.1.x and later. This is a LONG standing problem with no resolution in Indy itself at this time. But, there are a few 3rd party implementations available that add support for those versions, such as TaurusTLS: https://github.com/JPeterMugaas/TaurusTLS Edited Thursday at 07:36 PM by Remy Lebeau 2 1 Share this post Link to post