<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- #BeginTemplate "templates/index.dwt" --> <head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> <!-- #BeginEditable "doctitle" --> <title>RSVP Received</title> <!-- #EndEditable --> <meta name="author" content="Cheryl D Wise, http://by-expression.com" /> <link href="christmas.css" rel="stylesheet" type="text/css" /> <!-- #BeginEditable "headsection" --> <!-- page level styles or scripts go here --> <style type="text/css"> </style> <% 'declare your variables Dim vname, email, attend, party, bringing, msg vname = request.form("vname") email = request.form("email") attend = request.form("attend") party = request.form("party") bringing = request.form("bringing") msg = vname & " " & " , " & email & ", " & attend & " with a party of " & party & ", bringing " & bringing & "." Dim objCDOMail 'Holds the mail server object Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = Request.Form("vname") & Request.Form("email") objCDOMail.To = "you@yourdomain.com" 'replace with the email address to receive the form results objCDOMail.Cc = Request.Form("email") objCDOMail.Subject = "Christmas Party RSVP" objCDOMail.Body = msg 'Send the e-mail objCDOMail.Send 'Close the server object Set objCDOMail = Nothing %> <!-- #EndEditable --> </head> <body> <div id="container"> <img alt="Merry Christmas" height="125" src="images/christmas-masthead.jpg" width="750" /> <div id="menu"> <a href="index.html">home</a> <a href="map.html">map</a> <a href="gifts.html">gift</a><a href="charity.html"> charity</a> <a href="rsvp.html">rsvp</a></div> <div id="content"> <!-- #BeginEditable "content" --> <h1>Thank You</h1> <p class="tagline">For RSVPing to the party</p> <img alt="" height="313" src="images/gifts.jpg" width="225" class="ftright" /> <p>We show that <% = msg %></p> <!-- #EndEditable --> </div> <div id="footer"> <p>© 2007 <a href="http://by-expression.com/">by-eypression.com</a> </p> </div> </div> </body> <!-- #EndTemplate --> </html>