DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2005

    Send the viewing HTML page by email


    I have a web page displaying a catalog of products, and there is a button which will send this catalog to the user by email when it is clicked. My problem is: can I somehow capture the viewing page and send it by email to user? If yes, how could I capture it and send it as HTML format? If no, is there any way to work around it without regenerating a new page?

    Thank you very much.

  2. #2
    Join Date
    May 2005
    Is the catalog all that is in the web page? If yes you could use a webclient In the system.net namespace there is a WebClient class available or the HttpwebRequest class which can be used to make a request to the page if you are not on the page
    or you could this.Page.Response on the server and send it across before the response is sent to the client
    Refer msdn you can get the complete string equivalent of the web page with the response

  3. #3
    Join Date
    Aug 2005
    Thanks Sri,

    I use the webClient or Httpwebrequest as keywords to search in the internet and read several articles about how to request a web page content. However, it only part of my expected solution. Except capturing the content of a web page, I need to send the page to user by email. An example of one of the articles I read indicates the use of streamreader to read the content, but I have no idea of how to read the page and send it by email. So, would you please tell me a bit more detail?

    Thank you very much

  4. #4
    Join Date
    May 2005
    This is an article on screen scrapes where in a web page content is assigned to label text.

    After reading this assign the content to your email , content(i think its called body) and you will have to enable html email and send the email


    Does that help?

Similar Threads

  1. Help calling HTML page
    By Proggy in forum VB Classic
    Replies: 1
    Last Post: 11-08-2005, 03:37 PM
  2. How to load html page ?
    By smita in forum Java
    Replies: 1
    Last Post: 05-04-2005, 12:10 PM
  3. Send Email ????
    By Paul in forum VB Classic
    Replies: 0
    Last Post: 03-11-2001, 08:45 PM
  4. Replies: 0
    Last Post: 01-22-2001, 03:59 PM
  5. send ASP in HTML format: How?
    By Chris Hickey in forum ASP.NET
    Replies: 2
    Last Post: 06-17-2000, 12:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.