File: D:/web/itpartnership/emailer/expanded-polystyrene.asp
<!--#include virtual="/common/asp/inc-email.asp"-->
<html>
<head>
</head>
<body>
<%
OpenEmail "HTML", 35
AddToEmail "","<b>Expanded Polystyrene - Web Enquiry:</b><br><br>"
AddToEmail "Full Name", Request.Form("Name")
AddToEmail "Company", Request.Form("Company")
AddToEmail "Telephone", Request.Form("Tel")
AddToEmail "Email Address", Request.Form("Email")
AddToEmail "Enquiry", Request.Form("Enquiry")
SetFromAddress "sales@expanded-polystyrene.co.uk"
SendEmail "Expanded Polystyrene - Contact Form / Website Enquiry", "sales@www.expanded-polystyrene.co.uk", ",", ","
If GetErrorMessage = "" Then
Response.Redirect("http://www.expanded-polystyrene.co.uk/thankyou.htm")
Else
Response.Redirect("http://www.expanded-polystyrene.co.uk/error.htm")
End If
%>
</body>
</html>