smtp.live.com

系统教程 行业动态 更新时间:2024-06-14 16:59:22
smtp.live.com - 邮箱不可用。(smtp.live.com - mailbox unavailable. The server response was: 5.7.3 requested action aborted; user not authenticated)

我已经阅读了stackoverflow上的其他答案。 但没有一个解决方案适用于我。

我试图通过live.com发送电子邮件,但无法发送。

错误消息:

mailbox unavailable. The server response was: 5.7.3 requested action aborted; user not authenticated

代码:

MailMessage mail = new MailMessage(); mail.From = new MailAddress("email@live.com"); mail.To.Add("someone@someone.com"); mail.Subject = "hello"; mail.Body = "awefkljj kawefl"; mail.IsBodyHtml = false; SmtpClient smtp = new SmtpClient("smtp.live.com", 587); smtp.EnableSsl = true; smtp.Credentials = new NetworkCredential("email@live.com", "password"); smtp.Send(mail);

您是否可以使用上述代码发送电子邮件?

它在去年之前有效,但现在不再有效。

什么改变了?

I have read other answers on the stackoverflow. but none of the solutions work for me.

I'm trying to send email through live.com, but unable to it.

The error message:

mailbox unavailable. The server response was: 5.7.3 requested action aborted; user not authenticated

The code:

MailMessage mail = new MailMessage(); mail.From = new MailAddress("email@live.com"); mail.To.Add("someone@someone.com"); mail.Subject = "hello"; mail.Body = "awefkljj kawefl"; mail.IsBodyHtml = false; SmtpClient smtp = new SmtpClient("smtp.live.com", 587); smtp.EnableSsl = true; smtp.Credentials = new NetworkCredential("email@live.com", "password"); smtp.Send(mail);

Are you able to send the email by using above code?

It works before, last year, but it is no more working now.

What had been changed?

最满意答案

我遇到了一个问题,我无法使用特定主机上的smtp.live.com SMTP服务器发送电子邮件 - 特别是Azure主机。 在我的情况中,SMTP尝试来自我以前从未使用过的主机,因此尝试被5.7.3错误阻止:

信箱不可用。 服务器响应是:5.7.3请求的操作中止; 用户未通过身份验证

解决方案是浏览到帐户设置,在最近的活动中找到SMTP请求,然后选择“这就是我”:

验证SMTP尝试

I ran into an issue where I was unable to send emails using the smtp.live.com SMTP server from certain hosts -- particulary Azure hosts. In my case, the SMTP attempt was from a host that I had never used to sign-in previously, so the attempt was blocked with the 5.7.3 error:

Mailbox unavailable. The server response was: 5.7.3 requested action aborted; user not authenticated

The solution was to browse to the account settings, locate the SMTP request in its recent activity, and select "This was me":

Verify the SMTP attempt

更多推荐

本文发布于:2023-04-16 19:09:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/5604a634c77fec87ce223480785f2855.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:smtp   live

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!