I have the following in a click-event for a link. The link works fine and the email reaches the receiver.
But there is a link in the email back to the page you came from. This doesn't work.
vMessageBodyStringBuilder.Append(txtMessageEMail.Text).
Append("\n\n").
Append(EPiServer.Configuration.Settings.Instance.SiteUrl + CurrentPage.LinkURL.Remove(0, 1)).
Append("\n\nMessage was sent from IP address ").
Append(Request.UserHostAddress).
Append(" at ").
Append(DateTime.Now.ToString());
I have the following in a click-event for a link. The link works fine and the email reaches the receiver.
But there is a link in the email back to the page you came from. This doesn't work.
vMessageBodyStringBuilder.Append(txtMessageEMail.Text).
Append("\n\n").
Append(EPiServer.Configuration.Settings.Instance.SiteUrl + CurrentPage.LinkURL.Remove(0, 1)).
Append("\n\nMessage was sent from IP address ").
Append(Request.UserHostAddress).
Append(" at ").
Append(DateTime.Now.ToString());