----------------------------------------------

Fill this short form to Email us:

Fields marked (*) are required

Email From:*

Subject:

Email Body:

<% ' Website Contact Form Generator ' http://www.tele-pro.co.uk/scripts/contact_form/ ' This script is free to use as long as you ' retain the credit link ' declare variables Dim EmailFrom Dim EmailTo Dim Subject Dim EmailBody ' get posted data into variables EmailFrom = Trim(Request.Form("EmailFrom")) EmailTo = "mikesardari@yahoo.com" Subject = Trim(Request.Form("Subject")) EmailBody = Trim(Request.Form("EmailBody")) ' validation Dim validationOK validationOK=true If (Trim(EmailFrom)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("error.htm?" & EmailFrom) ' prepare email body text Dim Body Body = Body & "EmailBody: " & EmailBody & VbCrLf ' send email Dim mail Set mail = Server.CreateObject("CDONTS.NewMail") mail.To = EmailTo mail.From = EmailFrom mail.Subject = Subject mail.Body = Body mail.Send ' redirect to success page Response.Redirect("ok.htm?" & EmailFrom) %>

Created by CFG

 

Member of Better Business Bureau

webmaster