emailing order details

Discussion in 'ASP.NET / ASP.NET Core' started by DivebombInc, Feb 8, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Is there a way to email a page?
    Currently when someone confirms an order through my site I get a simple email telling me the order number.
    I do it like this:
    Dim mailMessage As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage
    mailMessage.From = [email protected]
    mailMessage.To = [email protected]
    mailMessage.Subject = "Confirmed Order"
    mailMessage.BodyFormat = System.Web.Mail.MailFormat.Html
    mailMessage.Body = "Order Number: " + Request.QueryString("OrderID")
    System.Web.Mail.SmtpMail.SmtpServer = "localhost"
    System.Web.Mail.SmtpMail.Send(mailMessage)
    Can I send the page in html so when I get the email in Outlookit shows me the entire order and all the details? What I'm doing now is kind of primative; I actually open the database up and get all the information.
     
  2. Thanks!
    1.1
    Like I said... "primative".
    That link didn't really go anywhere.
     
  3. The link is my custom Google asp.net CoOp, you simply put a query in the box and hit enter.


    It will comb through a bunch of asp.net tutorial sites looking for your request. [​IMG]
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page