DivebombInc
02-08-2007, 01:28 AM
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 = sales@divebombinc.com
mailMessage.To = kyle@divebombinc.com
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.
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 = sales@divebombinc.com
mailMessage.To = kyle@divebombinc.com
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.