I am using ASP.NET 3.5 (VB) to put a link in an email so a user can confirm their subscription.
I want the test link in the email to redirect to:
My code is:
Dim strURL As String = "UserAccountStatus.aspx?ac
Dim strDynamicURL As String = String.Format(strURL, "confirm", txtBid_User_ID.Text.ToStri
' I want to pass this in the email body:
strEmailBody &= "<a href=""<%= strDynamicURL %>""> test</a><br>"
I can't get the above quoted string to resolve correctly in the received email.
Can I do it this way? Please be very specific in your answer and provide VB code sample. Thanks.