I generate a page that is a receipt and want to send a receipt to the person from the web page.

Last post 06-23-2005 8:27 AM by Biovolt. 3 replies.

Sort Posts:

  • I generate a page that is a receipt and want to send a receipt to the person from the web page.

    06-23-2005, 4:21 AM
    • Member
      110 point Member
    • Biovolt
    • Member since 05-31-2005, 8:49 AM
    • Posts 22

    I generate a page that is a receipt and want to send a receipt to the person from the web page.

    Can I create an image from the page and attach the image to the email or must a save the page in memory and attach the page and how do I d this.
    Any suggestions would be greatly appreciated.

  • Re: I generate a page that is a receipt and want to send a receipt to the person from the web page.

    06-23-2005, 6:32 AM
    • Contributor
      2,378 point Contributor
    • ParrotBoy
    • Member since 10-08-2003, 5:56 AM
    • England
    • Posts 484
    Why are you attaching the whole page? What about just creating an email using the system.web.mail namespace, sticking in recipt details and sending it? It doesn't have to be the actual web page you send them.
    Please mark posts as the answer if I was helpful. Thanks!

    Visit my blog
  • Re: I generate a page that is a receipt and want to send a receipt to the person from the web page.

    06-23-2005, 7:58 AM
    • All-Star
      28,061 point All-Star
    • bmains
    • Member since 10-22-2004, 12:20 PM
    • Posts 5,654
    • TrustedFriends-MVPs
    For images, you would want to look into GDI+.  You could also do HTML email, which I've seen done, and it looks just as professional.  It would probably be better because an images is going to be a large size for an 8.5x11 file, whereas the HTML is going to be rather small.
    Brian

    "Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
  • Re: I generate a page that is a receipt and want to send a receipt to the person from the web page.

    06-23-2005, 8:27 AM
    • Member
      110 point Member
    • Biovolt
    • Member since 05-31-2005, 8:49 AM
    • Posts 22

    I am lazy and the most of the details get posted to the webpage and I don’t save the details and I don’t want to go line by line and create the body of the email.

    2 min go I found the example I was looking for. Big Smile [:D]

    http://west-wind.com/weblog/posts/481.aspx but thanx

    I don’t attach it any more I just use html email but how many people can’t read html e-mail’s, how can I create a attachment using Web.Mail.MailMessage with out saving the file and deleting it afterwards?

Page 1 of 1 (4 items)