Menu E-mail Tel: |
![]() |
||||||||||||
|
<%if lcase(Request.ServerVariables("REQUEST_METHOD")) = "post" then
'capture data from form
dim strTypeOffice, strTypeTables, strTypeCabinets, strTypeBedroom, strTypeSpecials, strName, strCompany, strEmail, strTelephone, strPrivate, strArchitect, strDesigner
dim strCustMail, strShorMail, strFormContents, htmlFormContents, htmlHeader, htmlFooter, htmlEmail
strTypeOffice = Trim(Request.Form("office"))
strTypeTables = Trim(Request.Form("tables"))
strTypeCabinets = Trim(Request.Form("cabinets"))
strTypeBedroom = Trim(Request.Form("bedroom"))
strTypeSpecials = Trim(Request.Form("specials"))
strCompany = Trim(Request.Form("company"))
strTelephone = Trim(Request.Form("telephone"))
strDesigner = Trim(Request.Form("designer"))
strArchitect = Trim(Request.Form("architect"))
strPrivate = Trim(Request.Form("private"))
shorehamEmail = "info@101fs.co.uk"
htmlHeader = " ")
htmlFormContents = "
The following response was placed on the website on " & longEnglishDate(Date()) & ". " & htmlFormContents & htmlFooter strShorMail="The following response was placed on the website on " & longEnglishDate(Date()) & chr(10) & chr(10) & strFormContents 'send emails call sendMultipartMail(shorehamEmail,strEmail,"101fs Enquiry",htmlEmail,strShorMail,"",false) 'call sendMultipartMail("andrei@senior.co.uk",strEmail,"Website enquiry",htmlEmail,strShorMail,"",false) 'build email for user htmlEmail = htmlHeader & "Dear " & strName & " Thank you for your enquiry placed on the website on " & longEnglishDate(Date()) & ". Please find below a copy of the message you sent, and we will contact you shortly. " & htmlFormContents & "Regards From 101fs " & htmlFooter strShorMail="Dear " & strNameOne & "," & vbcrlf & vbcrlf & "Thank you for your enquiry placed on the website on " & longEnglishDate(Date()) & chr(10) & chr(10) & strFormContents & vbcrlf & vbcrlf & "Regards From"& vbcrlf & vbcrlf &"101fs" if strEmail <> "" then call sendMultipartMail(strEmail,shorehamEmail,"Your 101fs Enquiry",htmlEmail,strShorMail,"",false) end if %>Thank you for your enquiry. We will be in touch with you shortly, and you will receive a copy of your response in your email. |