hotmail发送邮件问题
使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我支付了 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.