here is my code
System.Text.StringBuilder sb = new System.Text.StringBuilder();
MailMessage message = new MailMessage("abc@gmail.com", txtEmailId.Text.Trim());
message.Subject = "Auto email Test";
message.IsBodyHtml = true;
string str="http://localhost:55243/WebSiteTest/Accept.aspx?id=" + txtEmailId.Text.Trim();
string url = @"<a href="""+str+@""" target='_blank'";
string str1 = "http://localhost:55243/WebSiteTest/Reject.aspx?id=" + txtEmailId.Text.Trim();
string url1 = @"<a href=""" + str1 + @""" target='_blank'";
message.Body = @"<html><body>Thanks For Showing interest in our site. please press "+ url + @">Accept</a>Or "+ url1+">Reject</a></body></html>";
SmtpClient client = new SmtpClient();
client.Credentials = new NetworkCredential("abc@gmail.com", "password");
client.Send(message);
it redirects to the aspx page when link is clicked from mail received but as a new tab in browser. but i need to open the pages in small window that will open on the screen. any help!!!!!
Thanks in Advance.