Server Error in '/' Application.
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to
Source Error:
Line 73: smtp.Credentials = NetworkCred;
Line 74: smtp.Port = 587;
Line 75: smtp.Send(mm);
Line 76: lblErr.ForeColor = Color.Green;
Line 77: lblErr.Text = "Password has been sent to your email address.";
|
Source File: d:\Domains\Worker.captchatypers.com\Forms\ForgetPassword.aspx.cs Line: 75
Stack Trace:
[SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. For more information, go to]
System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) +2435317
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) +52
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) +117
System.Net.Mail.SmtpClient.Send(MailMessage message) +2619
Forms_ForgetPassword.NewPasswordRequest(String Email) in d:\Domains\Worker.captchatypers.com\Forms\ForgetPassword.aspx.cs:75
Forms_ForgetPassword.btnSubmit_Click(Object sender, EventArgs e) in d:\Domains\Worker.captchatypers.com\Forms\ForgetPassword.aspx.cs:30
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11763272
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5028
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0