Need help with emailing a web page.
-
How can I email a web page. My html attachments come as attachment (hope I make sense!). In one article they use ScreenScrapeHtml but I can get it, I have imported Sytem.Net and IO as suggested but still cant get ScreenScrapeHtml. I am using .net 2.0 vs 2005. Thanking you in advance.
I remain joe! "Only the best"
-
How can I email a web page. My html attachments come as attachment (hope I make sense!). In one article they use ScreenScrapeHtml but I can get it, I have imported Sytem.Net and IO as suggested but still cant get ScreenScrapeHtml. I am using .net 2.0 vs 2005. Thanking you in advance.
I remain joe! "Only the best"
When you do a request for a web page (in your c# code), the response is a string of HTML. Simply set the email type to HTML, and use the response text as the body of the email.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001 -
When you do a request for a web page (in your c# code), the response is a string of HTML. Simply set the email type to HTML, and use the response text as the body of the email.
.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001