% 'initialise objects and variables dim JMail, intComp, strReferer, strServer, strClientIP, strServerIP, blnSpam Set JMail = Server.CreateObject("JMail.SMTPMail") 'code to check if this page is being called from a another page on the server strReferer = request.servervariables("HTTP_REFERER") strServer = Replace(request.servervariables("SERVER_NAME"), "www.andoverbedandbreakfast.com", "Bed-and-Breakfast-Contacts.asp") strClientIP = request.servervariables("REMOTE_ADDR") strServerIP = request.servervariables("LOCAL_ADDR") intComp = inStr(strReferer, strServer) If intComp > 0 Then blnSpam = False Else ' Spam Attempt Block blnSpam = True End If ' This is my local SMTP server JMail.ServerAddress = "127.0.0.1:25" JMail.ServerAddress = "smtp." & strServer & ":25" ' This is me.... JMail.Sender = request.form("sender") '"noreply@" & strServer JMail.Subject = "Kimble Website Enquiry" & " sent @ " & now() 'without fasthosts email - page may not reload and acknowledgement not given' JMail.AddRecipient "enquiries@kimblecottage.co.uk" JMail.AddRecipientBCC "data@test-valley.com" ' Get the recipients mailbox from a form (note the lack of a equal sign). 'JMail.AddRecipient request.form("email") 'JMail.AddRecipient request.form("sender") jmail.SenderName = "KWE " & request.form("name") '= "Kimble Website Enquiry" JMail.Body = "Sender IP: " & strClientIP & vbCrLf & "Name: " & request.form("name") & vbCrLf & "Telephone: " & request.form("telephone") & vbCrLf & "Message: " & request.form("body") JMail.Priority = 3 JMail.AddHeader "Originating-IP", strClientIP 'send mail If request.form("body") <> "" Then JMail.Execute strResult = "Thank you for your email." 'Else 'strResult = "." End If %>
![]() |
![]() |
![]() |
|||||||
| Home | Bed and Breakfast | Andover B&B | Attractions | Bookings | Testimonials | Offers | Map & Contacts | ||
Contact Kimble Cottage Bed and BreakfastKimble Cottage Bed and Breakfast is situated in Abbotts Ann, near Andover in Hampshire (SP11 7BG). Please feel free to contact Sarah with any enquiries you might have via the contact form below, mobile: +44 (0)7876 468790 or landline: +44 (0)1264 710 592. |
![]() ![]() |
|||
| Your name: | ![]() ![]() |
|||
| Your email: | ||||
| Phone number: | ||||
| Your message: | If you have any problems using the contact form, please feel free to email: |
![]() ![]() |
||
Directions to Kimble Cottage Bed and BreakfastPlease see the interactive map below. Clicking on the 'A' marker will display a link to get driving or walking directions to Kimble Cottage Bed and Breakfast.This Abbotts Ann Bed and Breakfastis one mile from the A303, and an ideal location for the cities of Salisbury and Winchester and the local town of Andover.View Larger Map |
||||
|
"Thank you for all your help over the weekend with directions and suggestions. Lovely B&B, we will certainly return."
J.Barlow, Nottingham.
|
||||
| Kimble Cottage, Abbotts Ann, Andover, Hampshire, SP11 7BG Telephone: 01264 710 592 | ||||
| Website by DeBarneville | ||||