smtp.live.com - 邮箱不可用。服务器响应为:5.7.3请求的操作中止;用户未通过身份验证 [英] smtp.live.com - mailbox unavailable. The server response was: 5.7.3 requested action aborted; user not authenticated
问题描述
我已经阅读了计算器其他答案。但没有一个解决方案,为我工作。
我试图通过live.com发送电子邮件,但不能把它。
错误消息:
邮箱不可用。服务器响应为:5.7.3请求的操作中止;
用户未通过身份验证
中的代码:
邮件MAILMESSAGE新= MAILMESSAGE();
mail.From =新的MailAddress(email@live.com);
mail.To.Add(someone@someone.com);
mail.Subject =你好;
mail.Body =awefkljj kawefl
mail.IsBodyHtml = FALSE;
SmtpClient SMTP =新SmtpClient(smtp.live.com,587);
smtp.EnableSsl = TRUE;
smtp.Credentials =新的NetworkCredential(email@live.com,密码);
smtp.Send(邮件);
您可以用上面的代码发送电子邮件?
它的工作原理之前,去年一年,但它已不再是现在的工作。
做了哪些改变?
< DIV CLASS =h2_lin>解决方案
我遇到了一个问题,我无法发送邮件使用smtp.live.com SMTP服务器某些主机电子邮件 - 格外Azure的主机。在我的情况下,SMTP尝试是从我从未用于登录先前的主机,所以试图阻止与5.7.3错误:
邮箱无法使用。服务器响应为:5.7.3请求的操作中止;用户未通过身份验证
块引用>
解决的办法是浏览到该帐户设置中,找到其最近活动的SMTP请求,并选择这是我:
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?
解决方案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":
这篇关于smtp.live.com - 邮箱不可用。服务器响应为:5.7.3请求的操作中止;用户未通过身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!