2

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?

4

1 回答 1

0

我为 AfterLogic 的 MailBee 付费是因为 System.Net.Mail 并没有为您提供邮件对象所需要的一切。从那以后就再也没有回头。

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

于 2011-08-03T15:04:13.330 回答