%
' Const MAIL_TO_ADDRESS = "kjames@indigomail.com"
Const MAIL_TO_ADDRESS = "lmulhall@cell-crete.com"
Const MAIL_SUBJECT = "Cell-Crete Contact Form"
If Request.Form("pageaction") = "sendmail" Then
Dim strBody
Dim strFrom
' Build email body
strBody = "Contact Info" & vbCrLf & vbCrLf
strBody = strBody & Request.Form("Name") & vbCrLf
strBody = strBody & Request.Form("Organization") & vbCrLf
strBody = strBody & Request.Form("Address") & vbCrLf
strBody = strBody & Request.Form("City") & ", " & Request.Form("State") & " " & Request.Form("Zip") & vbCrLf & vbCrLf
strBody = strBody & "Phone: " & Request.Form("Phone") & vbCrLf
strBody = strBody & "Email: " & Request.Form("Email") & vbCrLf & vbCrLf
strBody = strBody & "Referral: " & Request.Form("Referral") & vbCrLf & vbCrLf
strBody = strBody & "Questions / Comments:" & vbCrLf
strBody = strBody & Request.Form("Comments") & vbCrLf
' Get from address
If Request.Form("email") = "" Then
strFrom = MAIL_TO_ADDRESS
Else
strFrom = Request.Form("email")
End If
' Send mail
SendMail strFrom, MAIL_TO_ADDRESS, MAIL_SUBJECT, strBody
Response.Redirect("thankyou.asp")
End If
%>
Contact Cell-Crete Corp.
|
Copyright © 1965-2010, Cell-Crete Corp. All rights reserved.
|