i am tryin to send mail to a user and providing him a authetication link to activate his account but i am hard coding the link. is there any way where i need not hard code
string url = "http://localhost:3876/User/Authenticate-User.aspx?emailID=" + emailfield;
string msgBody = "<h3>Dear User</h3>" + "<p>Thanks for your interest, Kindly click on the URL below to authenticate</p><br>" +
"<a href='" + url + "'>Activate Link</a><br><br>" +
"\r\n<p>With Regards,<br>Team</p>";