<% Response.Buffer = True Dim strBody Dim objCDOMail Dim strMyEmailAddress Dim strCCEmailAddress Dim strBCCEmailAddress Dim strReturnEmailAddress strMyEmailAddress = "contact@10percentchallenge.co.uk" strCCEmailAddress = "espace@westsussex.gov.uk" strBCCEmailAddress = "" 'Read in the users e-mail address strReturnEmailAddress = Request.Form("email") 'Initialse strBody string with the body of the e-mail strBody = "

E-mail sent from 10% Challenge Website

" strBody = strBody & "
Message: " & Request.Form("message") strBody = strBody & "
Name: " & Request.Form("name") strBody = strBody & "
Telehone: " & Request.Form("phone") strBody = strBody & "
Fax: " & Request.Form("fax") strBody = strBody & "
E-mail: " & strReturnEmailAddress strBody = strBody & "
Website: " & Request.Form("website") & vbCrLf & "
" If Len(strReturnEmailAddress) < 5 OR NOT Instr(1, strReturnEmailAddress, " ") = 0 OR InStr(1, strReturnEmailAddress, "@", 1) < 2 OR InStrRev(strReturnEmailAddress, ".") < InStr(1, strReturnEmailAddress, "@", 1) Then strReturnEmailAddress = strMyEmailAddress End If Set objCDOMail = Server.CreateObject("CDONTS.NewMail") objCDOMail.From = Request.Form("firstName") & " " & Request.Form("lastName") & " <" & strReturnEmailAddress & ">" objCDOMail.To = strMyEmailAddress objCDOMail.Cc = strCCEmailAddress objCDOMail.Bcc = strBCCEmailAddress objCDOMail.BodyFormat = 0 objCDOMail.MailFormat = 0 objCDOMail.Subject = "E-mail sent from 10% Challenge Website" objCDOMail.Body = strBody objCDOMail.Importance = 2 objCDOMail.Send Set objCDOMail = Nothing %> Links - The 10% Challenge - West Sussex County Council Initiative
 
 



 

Legal

Our Aims

The aims of this web site are to:

  • Provide information to residents, users of Council services, businesses, and the general public.
  • Facilitate access to Council services
  • Promote the County of West Sussex, the Council, and its services.

Disclaimer

West Sussex County Council (WSCC), which is responsible for this site, endeavours to provide up-to-date and accurate information. However, the Council disclaims any responsibility for the currency and accuracy of information, which is supplied to its web site by information providers who are in many cases external to WSCC.

This web site is made available for public viewing on the basis that WSCC excludes to the extent permitted by law all liability for any loss or damage arising out of the use of, or reliance upon, information contained within this web site.

We are not responsible for the content or reliability of web sites to which we link. Listing should not be taken as endorsement of any kind. We cannot guarantee that these links will work at all times, as we have no control over the availability of linked pages.

Copyright

Logos and Artwork

The logos and artwork on the WSCC web site are the copyright of its information providers and use of them is strictly prohibited without prior authorisation.

Text

Any use of text provided by WSCC is allowed within the Fair Dealing terms of the Copyright, Designs and Patents Act 1988, i.e. for research and private purposes. If the text is changed in any way, resulting documents cannot be credited to WSCC.

If commercial or public use is required of any of this web site's content, application must first be made to WSCC via the webmaster.

Contact: Telephone: 01243 756853
Email: webmaster@10percent.org.uk

Supported by: