System.Net.Mail.MailCommand.CheckResponse (SmtpStatusCode statusCode, String response) + 1893095
System.Net.Mail.MailCommand.Send (SmtpConnection conn, Byte [] command, MailAddress from, Boolean allowUnicode) + 49
System.Net.Mail.SmtpTransport.SendMail (MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& The exception) + 90
System.Net.Mail.SmtpClient.Send (MailMessage message) + 1946
BookShop. Web. Test. SendMailDemo. Page_Load (Object sender, EventArgs e) in c: \ Users \ admin \ Desktop \ BookDemo \ BookShop \ Web \ Test \ SendMailDemo aspx. 33 cs:
System. Web. Util. CalliEventHandlerDelegateProxy. Callback (Object sender, EventArgs e) + 52
System. Web. UI. Control the onl oad (EventArgs e) + 97
System. Web. UI. Control. LoadRecursive () + 61
System. Web. UI. Page. ProcessRequestMain (Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) + 693
CodePudding user response:
To set up the SMTP, 126 mailbox send mail do you use? Check out something set SMTPCodePudding user response:
Check whether the sender email address and SMTP mail matchMost SMTP server closed forward anonymous functions, so he is with the authentication
Validation rules, and user name + password + a mailbox is the user's email account
For example, you use 163, then the sender must be you the logged in user @ 163. com