<%Option Explicit%> <% ' Send the email that contrains the contact information Sub SendMail(addr) ' Mail and configuration Dim objMail: Set objMail = Server.CreateObject("CDO.Message") ' Dim objConf: Set objConf = Server.CreateObject("CDO.Configuration") ' objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 ' objConf.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "213.171.216.50" ' objConf.Fields.Update ' Set objMail.Configuration = objConf Dim txt: txt = txt & "The following contact was made through the Prima Dental Group Contact Us page..." & Chr(10) & Chr(10) txt = txt & " " & Request.Form("fname") & " " & Request.Form("lname") & Chr(10) If Request.Form("comp") <> "" Then txt = txt & " " & Request.Form("comp") & Chr(10) txt = txt & " " & Request.Form("address") & Chr(10) txt = txt & " " & Request.Form("postcode") & Chr(10) txt = txt & " " & Request.Form("country") & Chr(10) & Chr(10) txt = txt & " Phone : " & Request.Form("phone") & Chr(10) If Request.Form("fax") <> "" Then txt = txt & " Fax : " & Request.Form("fax") & Chr(10) txt = txt & " Email : " & Request.Form("email") & Chr(10) & Chr(10) txt = txt & "Comments : " & Chr(10) txt = txt & Request.Form("comments") & Chr(10) ' Set up the email objMail.From = "sales@primadentalgroup.com" objMail.To = addr objMail.Subject = "Prima Dental Group - Contact Us" objMail.TextBody = txt objMail.Send ' Release the instance Set objMail = Nothing End Sub ' If the form has been posted If Request.ServerVariables("REQUEST_METHOD") = "POST" Then Call SendMail("sales@primadentalgroup.com") Response.Redirect("thankyou.htm") End If %> Prima Dental | Contact Us

Contact Us

Prima Dental Group, Stephenson Drive,
Waterwells Business Park, Gloucester GL2 2AG,
United Kingdom

Tel: +44 (0) 1452 307171
Fax: +44 (0) 1452 307187

E-mail: sales@primadentalgroup.com

Prima Dental Group is a trading name of Prima Dental Manufacturing.

Registered office:
Prima Dental Group, Stephenson Drive,
Waterwells Business Park, Gloucester GL2 2AG,
United Kingdom
Registered in England No. 2175700

Contact Us
Personal Information













Comments