hotmail发送邮件问题

发布于 2024-11-13 06:10:40 字数 342 浏览 8 评论 0原文

使用 VB.NET System.Net.Mail 我声明

Dim SmtpServer As New SmtpClient()

使用 Gmail 帐户并使用端口 587 我可以发送电子邮件,它可以工作。

现在我想将同一个程序与 smtp.live.com POP 服务器和我的 Hotmail 帐户一起使用。

还有这个“TSL”的东西,我找不到如何使用它的有效示例。

诚然,我发现 EASendmail 是一种商业解决方案,但我拒绝了。

为什么我要为 .NET 中通常包含的东西付费?

using VB.NET System.Net.Mail I declare

Dim SmtpServer As New SmtpClient()

With a Gmail account and using port 587 I'm able to send emails, it works.

Now I want to use the very same program with a smtp.live.com POP server and my Hotmail account.

And there is this "TSL" thing that I can't find no valid sample how to use it.

Admittedly I've found EASendmail as a commercial solution, which I rejected.

Why would I pay for something that's normally included within .NET?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

飘然心甜 2024-11-20 06:10:40

我支付了 AfterLogic 的 MailBee 费用,因为 System.Net.Mail 无法为您提供人们想要从邮件对象中获得的所有内容。从那以后就没有回头。

至于你的问题,不是TSL,而是TLS。 谷歌搜索可以发现 live.com 的相当标准的 SMTP 设置。如果您仍然遇到问题,请尝试并报告详细信息。

I paid for AfterLogic's MailBee because System.Net.Mail doesn't give you all that one could want from mail object. And haven't looked back since.

As for your question, it is not TSL but TLS. Googling a bit reveals pretty standard SMTP settings for live.com. Try them and report back with details if you're still having problems.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文