Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send email via SSL and Indy in Delphi 7

I want to send email to Yahoo mail using Indy. But Yahoo uses 465 port with SSL connection. I don't know how to implement that in my program. I have read about TIdSSLIOHandlerSocketOpenSSL component on internet, but couldn't find such component in Delphi 7. Can anyone help?

like image 651
Tofig Hasanov Avatar asked Dec 05 '25 18:12

Tofig Hasanov


2 Answers

I have found that Synapse library is much easier to use. Look at the code example I use: How To Use SMTP with TLS

like image 194
Michał Niklas Avatar answered Dec 08 '25 20:12

Michał Niklas


In Delphi 6/7 the component was called TIdSSLIOHandlerSocket. This was Indy 8/9. It still uses Open SSL. I don't know why they changed the name in Indy 10.

like image 32
J__ Avatar answered Dec 08 '25 19:12

J__



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!