<% @Page Language="C#" Debug="true" %> <% @Import Namespace="System.Web.Mail" %> <% string strTo = Request.QueryString["email"]; string strFrom = "noreply@nationalachiever.com"; string strSubject = "Your Recent Jacket Order"; SmtpMail.SmtpServer = "localhost"; SmtpMail.Send(strFrom, strTo, strSubject, "Hello,\n\nThank you for ordering a jacket from National Achiever Services. A representative will contact you shortly.\n\nBelow is a recap of your order:\n------------------------------------------------------------\n1 Basic Jacket w/Customizations " + Request.QueryString["subtotal"] + "\n------------------------------------------------------------\n Tax " + Request.QueryString["tax"] + "\n------------------------------------------------------------\n Total " + Request.QueryString["total"]); SmtpMail.Send("orders@nationalachiever.com", "Rhonda@nationalachiever.com", "ORDER: National Achiever Jacket Order", "Hello,\n\nThere is a new jacket order waiting from " + strTo + ". You can view full details of this order at https://www.nationalachiever.com/jackets/login.asp\n\nBelow is a recap of the order:\n------------------------------------------------------------\n1 Basic Jacket w/Customizations " + Request.QueryString["subtotal"] + "\n------------------------------------------------------------\n Tax " + Request.QueryString["tax"] + "\n------------------------------------------------------------\n Total " + Request.QueryString["total"]); Response.Redirect("https://www.nationalachiever.com/jackets/finishedschool.asp"); %>