Using stringreader to set email body to html page

  • Thread starter Thread starter Mike P
  • Start date Start date
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?
 
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?
 
Back
Top