<% ' page specific constants const PAGE_TITLE = "Request Information" dim InputError, ErrorMessage dim subject, body dim CommentsInitialValue if not isempty( request("query")) then CommentsInitialValue = request("query") else CommentsInitialValue = "" end if %> New and used hot foil stamping machines, servicing, parts and consumables - SF Services
<% if request("submitted") = "1" then ' ** submitted ** ' false by default InputError = false ErrorMessage = "" if request("name") = "" then InputError = true ErrorMessage = "Please enter your name
" end if if request("company") = "" then InputError = true ErrorMessage = ErrorMessage & "Please enter your company name
" end if if request("email") = "" or InStr(1,request("email"),"@",vbTextCompare) = 0 OR InStr(1,request("email"),".",vbTextcompare) = 0 then InputError = true ErrorMessage = ErrorMessage & "Please enter your email address
" end if if request("comments") = "" then InputError = true ErrorMessage = ErrorMessage & "Please tell us how me may help you
" end if if InputError = true then ' ** input error ** %>

The following errors or omissions must be corrected before we can process your request.

<% =ErrorMessage %>

Back


<% else ' ** input ok - send email ** subject = "Information request from SF Services." body = "This is an automated email from SF Services at www.sfhotfoil.com" & chr(10) & chr(10) &_ "The following on-line information request has just been submitted." & chr(10) & chr(10) &_ "Name : " & request("name") & chr(10) &_ "Job Title : " & request("JobTitle") & chr(10) &_ "Business Type: " & request("BusinessType") & chr(10) &_ "Company : " & request("company") & chr(10) &_ chr(10) & "Address:" &chr(10) & request("address") & chr(10) & chr(10) &_ "Country : " & request("country") & chr(10) &_ "Telephone : " & request("phone") & chr(10) &_ "Fax : " & request("fax") & chr(10) &_ "Email : " & request("email") & chr(10) &_ chr(10) & "Comments:" & chr(10) & request("comments") & chr(10) ' send email to Alan EMAIL_SendEmail "alan@s-f-services.net", "", subject, body EMAIL_SendEmail "colinr@blockfoil.com", "", subject, body subject2 = "Information request to SF Services" body2 = "This is an automated email from SF Services at www.sfhotfoil.com" & chr(10) & chr(10) &_ "This is the on-line information request you have just submitted. Thankyou, we will be in touch shortly." & chr(10) & chr(10) &_ "Name : " & request("name") & chr(10) &_ "Job Title : " & request("JobTitle") & chr(10) &_ "Business Type: " & request("BusinessType") & chr(10) &_ "Company : " & request("company") & chr(10) &_ chr(10) & "Address:" &chr(10) & request("address") & chr(10) & chr(10) &_ "Country : " & request("country") & chr(10) &_ "Telephone : " & request("phone") & chr(10) &_ "Fax : " & request("fax") & chr(10) &_ "Email : " & request("email") & chr(10) &_ chr(10) & "Comments:" & chr(10) & request("comments") & chr(10) ' send email to Alan EMAIL_SendEmail request("email"), "", subject2, body2 ' james test ' EMAIL_SendEmail "sales@palaceit.com", "", subject, body %>

Thank you for your request, we will contact you shortly.

Home


<% end if else ' ** not submitted ** %>

To enquire about any of our new or used machines or any of our services please fill in this form.

Please note, fields marked in Red * are required.

You can also phone us on +44(0)1473 725161

Fax us on +44(0)1473 271601

or e-mail us directly

SF SERVICES, Foxtail Road, Ransomes Europark, Ipswich, IP3 9RT


View SF Services in a larger map
">
Name *
Company *
Job Title
Business Type
Address
Country

Telephone
Fax
Email *
How may we help you? *

<% end if %>
SF Services, Foxtail Road, Ransomes Europark, Ipswich, Suffolk. Tel:+44(0)1473 725161 Fax: +44(0)1473 271601
info@sfhotfoil.net
©2009 SF SERVICES