%
callback = trim(cstr("" & request("CallBack")))
if Callback <> "" then
name = trim(Cstr("" & request("name")))
email = trim(Cstr("" & request("email")))
address = trim(Cstr("" & request("address")))
town = trim(Cstr("" & request("town")))
phone = trim(Cstr("" & request("phone")))
zipcode = trim(Cstr("" & request("zipcode")))
services= trim(Cstr("" & request("services")))
comments= trim(Cstr("" & request("comments")))
find= trim(Cstr("" & request("find")))
'Name = replace(name, "Your name", "")
'Email = replace(Email, "Your email address", "")
'if Name = "" or Email = "" or Comments = "" then
' ErrorText = "Please enter your name, email address and comments"
'else
BodyStr = "Message received - " & formatdatetime(now, 1) & chr(13) & chr(10)
BodyStr = BodyStr & "=======================================" & chr(13) & chr(10)
BodyStr = BodyStr & "From: " & Name & " (" & Email & ")" & chr(13) & chr(10)
BodyStr = BodyStr & "Address:" & chr(13) & chr(10)
BodyStr = BodyStr & Address & chr(13) & chr(10)
BodyStr = BodyStr & Town & chr(13) & chr(10)
BodyStr = BodyStr & zipcode & chr(13) & chr(10)
BodyStr = BodyStr & phone & chr(13) & chr(10) & chr(13) & chr(10)
BodyStr = BodyStr & "Services Required:" & services & "" & chr(13) & chr(10)
BodyStr = BodyStr & "Comments:" & chr(13) & chr(10)
BodyStr = BodyStr & Comments & chr(13) & chr(10)
BodyStr = BodyStr & "How did you find us:" & chr(13) & chr(10)
BodyStr = BodyStr & find & chr(13) & chr(10)
BodyStr = BodyStr & "=======================================" & chr(13) & chr(10)
Set JMail = CreateObject("JMail.SMTPMAIL")
jmail.ServerAddress = "smtp.partnershipsinscotland.com"
jmail.Subject = "Message from Web Site // Contact Form"
JMail.SenderName = "Scottish Weddings"
JMail.Sender = "hospitality@pinscot.com"
JMail.Subject = "Message from Web Site // Contact Form"
jmail.AddRecipient("hospitality@pinscot.com")
''JMail.Priority = 1
JMail.Body = BodyStr
'On Error Resume Next
jmail.execute
'On Error Goto 0
Set JMail = Nothing
Response.Redirect("thanks.asp")
end if
'end if
'end if
%>
Scottish Partnerships, Gay Wedding Organisers
Contact Us
E: hospitality@pinscot.com
T: (+ 44) - (0) 131-208-0441
On-Line: Just fill out this on-line form and click send - its
as easy as that!
Fields marked with * are required.