I send a mail which includes activation link. When i open the program , this localhost changes everytime how can i get the address of localhost or fix it?
htmlBody = string.Format(" Hi " + userName + "\n Thank you for creating an account with RSS MANAGEMENT SYSTEM \n </ br>" + "Please click the below link to activate your account <br />" + "<a href='http://localhost:2386/ActivateUser.aspx?userName{0}&Id={1}'>Activate {0} </a>", UName, user_name);