
%@ Language=VBScript %> <% if request.QueryString("act") = 1 then set oEmail = server.CreateObject("JMail.SMTPMail") 'set oEmail = server.CreateObject("Persits.MailSender") 'oEmail.From = Request.Form("Email Address") 'oEmail.FromName = Request.Form("Contact First Name") & " " & Request.Form("Contact Surname") sBody = "This is from the contact us page form." & vbcrlf & vbcrlf for each fld in Request.Form if len(Request.Form(fld)) > 0 then sBody = sBody & fld & ":" & Request.Form(fld) & vbcrlf end if next sbody = sbody & GetFileName & vbcrlf & vbcrlf & teasertext & vbcrlf & vbcrlf & pagehead oemail.sender = "root@dormyhouse.co.uk" oEmail.ServerAddress = "localhost" oEmail.AddRecipientBCC "matthew@electricpixel.co.uk" oEmail.AddRecipient "reservations@dormyhouse.co.uk" oEmail.Body = sBody oEmail.Priority = 3 oEmail.AddHeader "Originating-IP", Request.ServerVariables("HTTP_REFERER") oEmail.Logging = True oEmail.Subject = "A request from the Dormy House website" oEmail.Execute() end if%>
Telephone: 01386 852 711 Fax: 01386 858 636 ![]() Here is where you will find our Press Covereage, Adverts and Editorial over the last few months. Live 24 Seven Lifestyle Magazine - March 2008
----------------------------------------------------------------------------Latest News from The Dormy House Hotel
|