<% If Request.Form("txtemail") <> "" Then 'The header/footer for the email. Const strHeader = "Here are the results of the form:" Const strFooter = "Form mailer created by 4GuysFromRolla.com, 1999" 'Who does this go to? MAKE SURE TO CHANGE THIS TO YOUR EMAIL ADDRESS! Const strTo = "carolgrundell@foxhayes.co.uk; jamesthornton@foxhayes.co.uk; davidgill@foxhayes.co.uk" 'This information is optional Dim strFrom, strSubject, strRedirectURL, strFromPath 'strFrom = Request.Form("txtemail") 'if Len(strFrom) = 0 then strFrom = strTo strFrom = "davidgill@foxhayes.co.uk" strSubject = "Contact from the I Want A Divorce.co.uk website" if Len(strSubject) = 0 then strSubject = "FORM EMAILER: 4GuysFromRolla.com" strRedirectURL = "Contact.htm" if Len(strRedirectURL) = 0 then strRedirectURL = "/" strFromPath = "Contact.asp" if Len(strFromPath) = 0 then strFromPath = "UNKNOWN" Dim strBody strBody = strHeader & ( vbCrLf & vbCrLf ) strBody = strBody & ( "FORM: " & strFromPath & vbCrLf ) & _ ( "FORM submitted at " & Now() & vbCrLf & vbCrLf ) dim ix, formElementName, formElementValue, prefix, fldName For ix = 1 to Request.Form.Count formElementName = Request.Form.Key(ix) formElementValue = Request.Form.Item(ix) ' what type of field was that on the form? prefix = Left(formElementName,3) ' and throw away prefix to get actual field name fldName = Mid(formElementName,4) ' but change periods to spaces for readability fldName = Replace(fldName, "."," ") Select Case prefix ' if the prefix indicates this is a form field of interest... Case "txt","sel","rad","cbo","lst","chk": ' if user didn't answer this question, say so... if Len(formElementValue) = 0 then formElementValue = "UNANSWERED" ' then tack on the name of the field and the answer strBody = strBody & (fldName & ": " & formElementValue & vbCrLf) End Select Next strBody = strBody & ( vbCrLf & vbCrLf & "-- " & vbCrLf & strFooter ) 'Time to send the email Dim ObjSendMail Set ObjSendMail = CreateObject("CDO.Message") ObjSendMail.To = strTo ObjSendMail.Subject = strSubject ObjSendMail.From = strFrom ' we are sending a text email.. simply switch the comments around to send an html email instead 'ObjSendMail.HTMLBody = "this is the body" ObjSendMail.TextBody = strBody 'This section provides the configuration information for the remote SMTP server. ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Send the message using the network (SMTP over the network). ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="192.168.2.25" ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection (True or False) ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 ' If your server requires outgoing authentication uncomment the lines bleow and use a valid email address and password. ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic (clear-text) authentication ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="poulterk@foxhayes.local" ObjSendMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="nx9110" ObjSendMail.Configuration.Fields.Update 'End remote SMTP server configuration section== ObjSendMail.Send Set ObjSendMail = Nothing Response.Redirect "Contact.htm" End If %>

 

Terms and conditions

Welcome to our website. If you continue to browse and use this website you are agreeing to comply with and be bound by the following terms and conditions of use, which together with our privacy policy govern Fox Hayes LLP's relationship with you in relation to this website.

The term "Fox Hayes LLP" or "us" or "we" refers to the owner of the website whose registered office is 118 North Street, Leeds, West Yorkshire UK LS2 7AN. Our company registration number is OC314918. The term "you" refers to the user or viewer of our website.

The use of this website is subject to the following terms of use:

•  Legal advice – the information provided on this website does not constitute legal advice, and any reliance on any material found on our website will be at your own risk. If legal advice is required you are advised to contact one of our solicitors on 0113 2496496.

•  The content of the pages of this website are for your general information and use only. It is subject to change without notice.

•  Neither we nor any third parties provide any warranty or guarantee as to the accuracy, timeliness, performance, completeness or suitability of the information and materials found or offered on this website for any particular purpose. You acknowledge that such information and materials may contain inaccuracies or errors and we expressly exclude liability for any such inaccuracies or errors to the fullest extent permitted by law.

•  Your use of any information or materials on this website is entirely at your own risk, for which we shall not be liable. It shall be your own responsibility to ensure that any products, services or information available through this website meet your specific requirements.

•  This website contains material which is owned by or licensed to us. This material includes, but is not limited to, the design, layout, look, appearance and graphics. Reproduction is prohibited other than in accordance with the copyright notice, which forms part of these terms and conditions.

•  Unauthorised use of this website may give rise to a claim for damages and/or be a criminal offence.

•  From time to time this website may also include links to other websites. These links are provided for your convenience to provide further information. They do not signify that we endorse the website(s). We have no responsibility for the content of the linked website(s).

•  You may not create a link to this website from another website or document without Fox Hayes LLP's prior written consent.

•  Your use of this website and any dispute arising out of such use of the website is subject to the laws of England and Wales .

Privacy Policy

This privacy policy sets out how "Fox Hayes LLP" uses and protects any information that you give us when you use this website.

"Fox Hayes LLP" is committed to ensuring that your privacy is protected. Should we ask you to provide certain information by which you can be identified when using this website, then you can be assured that it will only be used in accordance with this privacy statement.

"Fox Hayes LLP" may change this policy from time to time by updating this page. You should check this page from time to time to ensure that you are happy with any changes. This policy is effective from 1 January 2008

What we collect

We may collect the following information provided by you:

•  name and status

•  contact information including email address

•  other information relevant to our services

What we do with the information we gather

We require this information to understand your needs and provide you with a better service, and in particular for the following reasons:

•  Internal record keeping.

•  We may use the information to improve our services.

Security

We are committed to ensuring that your information is secure. In order to prevent unauthorised access or disclosure we have put in place suitable physical, electronic and managerial procedures to safeguard and secure the information we collect online.

Cookies

We do not use cookies.

Links to other websites

Our website may contain links to other websites of interest. However, once you have used these links to leave our site, you should note that we do not have any control over that other website. Therefore, we cannot be responsible for the protection and privacy of any information which you provide whilst visiting such sites and such sites are not governed by this privacy statement. You should exercise caution and look at the privacy statement applicable to the website in question.

Controlling your personal information

We will not sell, distribute or lease your personal information to third parties unless we are required by law to do so.

You may request details of personal information which we hold about you under the Data Protection Act 1998. A small fee will be payable. If you would like a copy of the information held on you please write to 118 North Street, Leeds, West Yorkshire UK LS2 7AN.

If you believe that any information we are holding on you is incorrect or incomplete, please write to or email us as soon as possible. We will promptly correct any information found to be incorrect.

Copyright Notice

This website and its content is copyright of "Fox Hayes LLP" - © "Fox Hayes LLP 2007. All rights reserved.

Any redistribution or reproduction of part or all of the contents in any form is prohibited other than the following:

•  you may print or download to a local hard disk extracts for your personal and non-commercial use only

•  you may copy the content to individual third parties for their personal use, but only if you acknowledge the website as the source of the material

You may not, except with our express written permission, distribute or commercially exploit the content. Nor may you transmit it or store it in any other website or other form of electronic retrieval system.