%@ Language=VBScript %>
<%
if len(Request.Form("submit")) > 0 then
dim body
body = body & "Name: " & Request.Form("realname") & vbcrlf
body = body & "Phone: " & Request.Form("phone") & vbcrlf
body = body & "Email: " & Request.Form("email") & vbcrlf
body = body & "Comments: " & Request.Form("comments") & vbcrlf & vbcrlf
dim objMsg
set objMsg = Server.CreateObject("CDONTS.NewMail")
objMsg.Value("Reply-To") = "<" & Request.Form("email") & ">"
if len(Request.Form("email")) > 0 then
objMsg.From = Request.Form("email")
else
objMsg.From = "info@chapelhillperio.com"
end if
'objMsg.To = "sarah@denovo.net "
objMsg.To = "tamar@chapelhillperio.com"
objMsg.Subject = "Dr. Godsey Web Site Contact Form"
objMsg.body = body
objMsg.send
set objMsg = nothing
end if %>
Thank you!
Your contact form has been received and will be replied to as quickly as possible. If you need immediate assistance you can also contact us with the information below:
Timothy W. Godsey, D.D.S., M.S.
150 Providence Road, Suite 200
Chapel Hill, North Carolina 27514
919 968 1778