I am sendig the email to client on button click.
I am sending link with code
mm.Body =
"Thanks for the Registration. To acctivate your account Please visit the link http://localhost:49509/point/activate.aspx?code= "+ lblcode.Text + "."
What is the problem that you are facing?
When user get email and click the link it is open in new tab without lblcode.text
So for that you need to place breakpoint where body is populated and check whether lblcode has value
get the mail in this form
http://localhost:49509/point/activate.aspx?code= e185f
i want =e185f is also hyperlink.
use following
mm.Body ="Thanks for the Registration. To acctivate your account Please visit the link http://localhost:49509/point/activate.aspx?code="+ lblcode.Text
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.