%
If request("SendMail") <> "" Then
Message = ""
DefEmail = "InformationRequest@libertyhomesok.com"
sTo = "dusty@libertyhomesok.com"
sFrom = DefEmail
sSubject = "Liberty Homes Information Request"
For Each X In Request.Form
Session(X) = Cstr(Request.Form(X))
Next
sMsg = "Name: " & Session("Name") & vbcrlf
sMsg = SMsg & "Address: " & Session("Address") & vbcrlf
sMsg = SMsg & Session("City") & ", " & Session("State") & " " & Session("Zip") & vbcrlf
sMsg = SMsg & "Email: " & Session("Email") & vbcrlf
sMsg = SMsg & "Phone: " & Session("Phone") & vbcrlf
sMsg = SMsg & "Best Time To Call: " & Session("Best_Time_To_Call") & vbcrlf
sMsg = SMsg & "Currenlty: " & Session("Currently") & vbcrlf
If Trim(Session("Referral_Other")) = "" Then
sMsg = SMsg & "Referral: " & Session("Referral") & vbcrlf
Else
sMsg = SMsg & "Referral: " & Session("Referral_Other") & vbcrlf
End If
If Trim(Session("Other_Move_In")) = "" Then
sMsg = SMsg & "Move In: " & Session("Move_In") & vbcrlf
Else
sMsg = SMsg & "Move In: " & Session("Other_Move_In") & vbcrlf
End If
sMsg = SMsg & "Build Where: " & Session("Build_Where") & vbcrlf
sMsg = SMsg & "Realtor: " & Session("Realtor") & vbcrlf
sMsg = SMsg & "Price Range: " & Session("Price_Range") & vbcrlf
sMsg = SMsg & "Square Footage: " & Session("Footage") & vbcrlf
sMsg = SMsg & "Contact By: " & Session("Contact_By") & vbcrlf
sMsg = SMsg & "Comments: " & vbcrlf & Session("Comments") & vbcrlf
Result = SendMail(sFrom,sTo,sSubject,sMsg)
If Result <> 0 Then
Message = "The mail message could not be delivered to the SMTP server.
Error Code: " + CStr(Result) + "
"
Else
Response.redirect "ThankYou.htm"
Response.end
End If
End If
%>
|
||||||
|
Contact Us Thank you for your interest in
Liberty Homes! Let Liberty Homes
show you the advantages of a custom built home. "Custom Freedom", its
the way we do business!
|
|||||
|
Copyright © 2007 Liberty Homes, Inc.
|
||||||