%@ Language=VBScript %> <% if request.form("name") = "" or request.form("phone") = "" then response.redirect "error.htm" set objMail = Server.CreateObject("Persits.MailSender") objMail.Host = "casterlinefuneralhome.com" objMail.From = Request.Form("info@casterlinefuneralhome.com") 'objMail.From = "mail.casterlinefuneralhome.com" objMail.FromName = "Casterline Website" 'objMail.AddAddress "info@casterlinefuneralhome.com" objMail.AddAddress "dstrange@pixel-bit.com" objMail.Subject = "Question or Comment" formContent = formContent & "Name: " & Request.Form("name") & chr(10) & chr(13) formContent = formContent & "Phone: " & Request.Form("phone")& chr(10) & chr(13) formContent = formContent & "Email Address: " & Request.Form("email")& chr(10) & chr(13) formContent = formContent & "Comments: " & Request.Form("comments")& chr(10) & chr(13) ObjMail.Body = formcontent objMail.Send %>
|
||||||||||||||||
|
||||||||||||||||
|
||||||||||||||||