Author: Tdawg90 | Posted on: 2/2/2010 7:02:42 PM | Views : 268

I've seen many examples and tutorials on how to Create,Populate AND Send Webcontrols in an email, but I need to NOT send the email
This is what I have so far
StringBuilder SB = new StringBuilder(); StringWriter SW = new StringWriter(SB); HtmlTextWriter htmlTW = new HtmlTextWriter(SW); GridView1.RenderControl(htmlTW); string grid = SB.ToString(); MailMessage message = new MailMessage(); message.Subject = "Blahh"; message.IsBodyHtml = true; message.Body = grid; Here, I'm attempting to take my gridview results, convert to string, place in body of an email.
Now, how do I output that to an actual email, similar to how MailTo works?
Or can I somehow use the MailTo to open the mail and populate it?
 
...

Go to the complete details ...