C# ASP.NET 通过 TLS 发送电子邮件 [英] C# ASP.NET Send Email via TLS

查看:35
本文介绍了C# ASP.NET 通过 TLS 发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为了遵守 HIPAA 规定,我们需要从外部站点发送电子邮件(防火墙外)到内部 Exchange 服务器(防火墙内).我们的 Exchange 管理员告诉我们,我们需要使用 TLS 加密将邮件从网络服务器发送到电子邮件服务器.

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,对它也不是很熟悉.在 Google 上搜索带来了许多付费使用的图书馆..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 发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆