<%
IF Request.Form.Count>0 then
txt=""
txt= txt & "---------------------------" & vbcrlf
txt= txt & " Enquiry from your website" & vbcrlf
txt= txt & "---------------------------" & vbcrlf & vbcrlf
txt= txt & "From: " & Request.Form("name") & vbcrlf & vbcrlf
txt= txt & Request.Form("enquiry") & vbcrlf & vbcrlf
txt= txt & "-------------------------------" & vbcrlf & vbcrlf
txt= txt & "Contact Details:" & vbcrlf & vbcrlf
txt= txt & "Daytime No: " & Request.Form("daytel") & vbcrlf
txt= txt & "Evening No: " & Request.Form("evetel") & vbcrlf & vbcrlf
txt= txt & "Email: " & Request.Form("email") & vbcrlf & vbcrlf
txt= txt & ""
Set MyMail=server.CreateObject("CDONTS.Newmail")
MyMail.From = Request.Form("email")
MyMail.To = "info@iondesignit.com"
MyMail.Subject = "Enquiry from your website"
MyMail.Body = txt
MyMail.Send
set MyMail = nothing
Response.Redirect "thanks.htm"
Else
%>
<%end if%>