Hello
When I complete my forgot.aspx field here http://www.dimadayoub.net/forgot.aspx I get the following error:
I know that this error usually relates to SMTP credentials (email and password) and the name of the SMTP host, but I am assured by my Web hosting service that I have them all correct. The forgot.aspx page should send a link to the user which, when clicked on, should launch a new page. That new page
is called 'newPassword' which I have in my code as:
Since forgot.aspx and newPassword.aspx are in the same Solution Explorer (neither of them are in their own folders), do I need to have this:
Thanks
Steve
When I complete my forgot.aspx field here http://www.dimadayoub.net/forgot.aspx I get the following error:
Mailbox unavailable. The server response was: Authentication is required for relay
Stack Trace:
[SmtpException: Mailbox unavailable. The server response was: Authentication is required for relay]
System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) +1904286
System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) +46
System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception) +88
System.Net.Mail.SmtpClient.Send(MailMessage message) +1856
forgot.btnForgot_Click(Object sender, EventArgs e) +1355
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9815206
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639
I know that this error usually relates to SMTP credentials (email and password) and the name of the SMTP host, but I am assured by my Web hosting service that I have them all correct. The forgot.aspx page should send a link to the user which, when clicked on, should launch a new page. That new page
is called 'newPassword' which I have in my code as:
VB.NET:
builder.Path = VirtualPathUtility.ToAbsolute("~/newPassword.aspx")
Since forgot.aspx and newPassword.aspx are in the same Solution Explorer (neither of them are in their own folders), do I need to have this:
VB.NET:
builder.Path = VirtualPathUtility.ToAbsolute("newPassword.aspx")
Thanks
Steve