Your requirement is not clear.
you may require below code.
string str = Request.ServerVariables["H
string str1 = str.Substring(str.LastInde
str = str.Substring(0, str.Length - str1.Length);
it will give u ur current website address.
and dont forget to give
msg.IsBodyHtml = true;
where msg is object of MailMessage.
Hope this helps.
Main Topics
Browse All Topics





by: shahprabalPosted on 2009-06-16 at 10:52:07ID: 24640474
<a href="http://ask-leo.com">h ttp://ask- leo.com</a>
i_send_a_l ink_in_ema il.html
check out http://ask-leo.com/how_do_