%@ LANGUAGE="VBSCRIPT" %> <% option explicit %> <% Response.Buffer = True %> <% '*********************************************************************** ' COPYRIGHT NOTICE ' This VB Code was purchased from www.CJWSoft.com ' Author : Christopher Williams of ' www.CJWSoft.com and www.PowerASP.com ' (c) Copyright 2000 - 2006 by CJWSoft / PowerASP All rights reserved '*********************************************************************** %> <% 'Declaring Variables Dim smtpserver,youremail,yourpassword,ContactUs_Name,ContactUs_Email,ContactUs_Telephone Dim ContactUs_Subject,ContactUs_Body,ContactUs_HeardFrom,Action,IsError ' Edit these 3 values accordingly smtpserver = "smtpauth.dsl.pipex.com" youremail = "atgl25@dsl.pipex.com " yourpassword = "dehodima" ' Grabbing variables from the form post ' KENO - ADD ANY NEW FIELD NAMES HERE ContactUs_Name = Request("ContactUs_Name") ContactUs_Email = Request("ContactUs_Email") ContactUs_Telephone = Request("ContactUs_Telephone") ContactUs_Subject = Request("ContactUs_Subject") ContactUs_HeardFrom = Request("ContactUs_HeardFrom") ContactUs_Body = Request("ContactUs_Body") Action = Request("Action") ' Used to check that the email entered is in a valid format Function IsValidEmail(Email) Dim ValidFlag,BadFlag,atCount,atLoop,SpecialFlag,UserName,DomainName,atChr,tAry1 ValidFlag = False If (Email <> "") And (InStr(1, Email, "@") > 0) And (InStr(1, Email, ".") > 0) Then atCount = 0 SpecialFlag = False For atLoop = 1 To Len(Email) atChr = Mid(Email, atLoop, 1) If atChr = "@" Then atCount = atCount + 1 If (atChr >= Chr(32)) And (atChr <= Chr(44)) Then SpecialFlag = True If (atChr = Chr(47)) Or (atChr = Chr(96)) Or (atChr >= Chr(123)) Then SpecialFlag = True If (atChr >= Chr(58)) And (atChr <= Chr(63)) Then SpecialFlag = True If (atChr >= Chr(91)) And (atChr <= Chr(94)) Then SpecialFlag = True Next If (atCount = 1) And (SpecialFlag = False) Then BadFlag = False tAry1 = Split(Email, "@") UserName = tAry1(0) DomainName = tAry1(1) If (UserName = "") Or (DomainName = "") Then BadFlag = True If Mid(DomainName, 1, 1) = "." then BadFlag = True If Mid(DomainName, Len(DomainName), 1) = "." then BadFlag = True ValidFlag = True End If End If If BadFlag = True Then ValidFlag = False IsValidEmail = ValidFlag End Function %>

sales@maunmotors.co.uk |
hire@maunmotors.co.uk |
Chris Dakin - Finance Manager |
finance@maunmotors.co.uk |
Andrew Kennedy - Webmaster and IT Manager. |
andrew@maunmotors.co.uk |
|
Open Mon-Fri 08.30 'til 17.45 Saturday 09.30 'til 17.30 Sunday By Appointment 08448 246133 Calls Charged at Local Rate from Anywhere in the UK! Common Road Huthwaite Sutton-In-Ashfield Nottinghamshire NG17 6AD ![]() Map Andrew Kennedy Chris Dakin Linda Henstock Russell Fowkes |
Open Mon-Fri 08.00 'til 17.45 Saturday 08.00 'til 17.30 Sunday - Returns Only 01773 810007 Berristow Lane South Normanton Nr. Alfreton Derbyshire DE55 2FH ![]() Map Les Hallam Carl Tyers Jenny Irish |
Alternatively, type your phone number and short details of your query in the boxes and hit the 'Contact Me' button. One of our staff shall recieve this message, and you shall be called back as soon as possible.
Maun Motors will NOT sell your details to a third party, NOR use your details for marketing purposes. We will ONLY use your details to reply to your enquiry.