Using stringreader to set email body to html page

M

Mike P

I am trying to send out an email that is based upon an HTML page. Is it
possible to read the HTML page into something like a StringReader and
then set the Mail.Body equal to the StringReader? If it is, does
anybody have any code samples?
 
P

Patrick Steele

I am trying to send out an email that is based upon an HTML page. Is it
possible to read the HTML page into something like a StringReader and
then set the Mail.Body equal to the StringReader? If it is, does
anybody have any code samples?

Why not just do an HTTP get and retrieve the HTML (string) of the page.
Is that what you want to do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top