简体   繁体   English

如何在Delphi 7中通过SSL和Indy发送电子邮件

[英]How to send email via SSL and Indy in Delphi 7

I want to send email to Yahoo mail using Indy. 我想使用Indy向Yahoo邮件发送电子邮件。 But Yahoo uses 465 port with SSL connection. 但雅虎使用465端口与SSL连接。 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? 我在网上看过TIdSSLIOHandlerSocketOpenSSL组件,但在Delphi 7中找不到这样的组件。任何人都可以帮忙吗?

I have found that Synapse library is much easier to use. 我发现Synapse库更容易使用。 Look at the code example I use: How To Use SMTP with TLS 看看我使用的代码示例: 如何在TLS中使用SMTP

In Delphi 6/7 the component was called TIdSSLIOHandlerSocket . 在Delphi 6/7中,该组件称为TIdSSLIOHandlerSocket This was Indy 8/9. 这是Indy 8/9。 It still uses Open SSL. 它仍然使用Open SSL。 I don't know why they changed the name in Indy 10. 我不知道为什么他们改变了Indy 10的名字。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM