问题描述
为了符合的,我们需要从外部站点(防火墙外)发送电子邮件至内部Exchange服务器(防火墙内)。我们的Exchange管理员告诉我们,我们需要使用TLS加密从Web服务器发送邮件到电子邮件服务器。
In order to comply with HIPAA regulations, we need to send email from an external site (outside the firewall) to an internal Exchange server (inside the firewall). Our Exchange admins tell us we need to use TLS encryption to send mail from the web server to the email server.
我以前从未使用TLS和我不是很熟悉。搜索在谷歌作为提出了许多有偿使用的库。有什么原产于.NET,将做到这一点?如果是这样,我怎么配置呢?如果没有,是否有什么免费或开源?
I've never used TLS before and I'm not very familiar with it. Searching on Google as brought up numerous paid-for-use libraries. Is there anything native to .NET that will accomplish this? If so, how do I configure it? If not, is there something free or open source?
当前配置:
- ASP.NET C#Web应用程序
- 2.0框架
- 使用System.Net.Mail通过SMTP发送电子邮件和附件
- IIS 6.0
推荐答案
TLS(传输层安全)是在确保HTTP通信已取代SSL更宽泛的术语(安全套接层)。所以,你被要求做的是启用SSL。
TLS (Transport Level Security) is the slightly broader term that has replaced SSL (Secure Sockets Layer) in securing HTTP communications. So what you are being asked to do is enable SSL.
这篇关于C#ASP.NET通过TLS发送邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!