Send email using indy component delphi SSL negotiation failed


Try looking at the raised exception's InnerException property, it might give you a clue as to what went wrong before the EIdTLSClientTLSHandShakeFailed exception was raised afterwards.

In my case , 
The exception was showing SSL negotiation failed but an inner exception was with Loading OPEN SSL DLL.

Solution :


Download open ssl dll from the link below and Paste it into your application working directory.


If you are facing issue in web application ,then you need to place dll in web application folder and Windows system folders (System32 and SysWOW64)



64 Bit :

https://agilelabs-my.sharepoint.com/:u:/g/personal/karthik_agile-labs_com/Eff8vPzRKYNFvskCakzflHUBqx0t8nve5jKShTLPNpKOoQ?e=V9GfT0


32 Bit :

https://agilelabs-my.sharepoint.com/:u:/g/personal/karthik_agile-labs_com/EekoZL7aQLpArS1IgAWKB18B3uaarD3JeDWTwCOX5Nt-sw?e=vwptXK


If above one didn't work then try with below ,


Download open ssl dll from the below link and try ,

https://indy.fulgan.com/SSL/Archive/Experimental/


Above link has 4 download links.

Each link is having libeay32.dll and ssleay32.dll.

  • Download files from the first link , extract it , search for libeay32.dll and ssleay32.dll .

  • Copy those files and paste them in your application folder.

  • Restart your application and check the issue.

If it didn't work then try with other links.


Note :

You may need to place these two files (ssleay32.dll and libeay32.dll) in the C:\windows\System32 and c:\Windows\SysWow64 folder also.


No comments:

Post a Comment

Pages