F
foxtan7158
Unregistered / Unconfirmed
GUEST, unregistred user!
我使用asp.net发邮件,出现代号为553的关于登陆验证的错误,但我在System.Web.Mail空间中找不到有关验证的类,请高手帮忙解决!,在下感激不尽(100分)<br />错误提示为:
服务器拒绝了发件人地址。服务器响应为: 553 You are not authorized to send mail as <MAIL FROM: <foxtan7@163.com>>, authen
tication is required
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 服务器拒绝了发件人地址。服务器响应为: 553 You are not authorized to send mail as <MAIL FROM: <foxtan7@163.com>>, authen
tication is required
源代码:
System.Web.Mail.MailMessage mailMessage;
mailMessage = new MailMessage();
mailMessage.From = "foxtan8@163.com";
mailMessage.To = "foxtan7@163.com";
mailMessage.Subject = "foxtan test!!!";
mailMessage.Body = "asdfsdfsdfasdfasd tttt";
SmtpMail.SmtpServer = "smtp.163.com";
SmtpMail.Send(mailMessage);
请高手帮忙,在下感激不尽
服务器拒绝了发件人地址。服务器响应为: 553 You are not authorized to send mail as <MAIL FROM: <foxtan7@163.com>>, authen
tication is required
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Runtime.InteropServices.COMException: 服务器拒绝了发件人地址。服务器响应为: 553 You are not authorized to send mail as <MAIL FROM: <foxtan7@163.com>>, authen
tication is required
源代码:
System.Web.Mail.MailMessage mailMessage;
mailMessage = new MailMessage();
mailMessage.From = "foxtan8@163.com";
mailMessage.To = "foxtan7@163.com";
mailMessage.Subject = "foxtan test!!!";
mailMessage.Body = "asdfsdfsdfasdfasd tttt";
SmtpMail.SmtpServer = "smtp.163.com";
SmtpMail.Send(mailMessage);
请高手帮忙,在下感激不尽