%Option Explicit response.buffer = true Dim conn, i Dim strHost, rst dim Mail Dim EndT, StartT Sub connOpen() Set conn = Server.CreateObject("ADODB.Connection") conn.Open "Driver={mySQL};" & _ "Server=localhost;" & _ "Option=16834;" & _ "Database=fpcinvest;" &_ "UID=fpcinvest_Admin;" &_ "Pwd=jrs24tr$" End Sub connOpen %>
|
Financial Planning Consultants,
Inc. | ||||||||||||
|
|
<%
strHost = ""
If request("Action") = "send" Then
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.Host = "fpcinvest.com" ' Specify your domain
Mail.From = "info@fpcinvest.com" ' Specify sender's address
Mail.FromName = "FPC" ' Specify sender's name
Mail.AddAddress "info@fpcinvest.com"
Mail.AddReplyTo request("Email")
Mail.Subject = "Feedback from Website"
Mail.Body = request("FirstName") & " " & request("LastName") & " has filled out the web site seminars form. " & Chr(10) &_
"Their address is:" & Chr(10) & request("Street") & Chr(10) & request("Apt") & Chr(10) &_
request("City") & ", " & request("State") & " " & request("Zip") &_
Chr(10) & Chr(10) & "Their phone number is:" & Chr(10) & "(" & request("AreaCode") & ") " & request("PhoneNumber") &_
Chr(10) & Chr(10) & "Email address:" & Chr(10) & request("Email") &_
Chr(10) & Chr(10) & "Comments:" & Chr(10) & request("Comments")
On Error Resume Next
Mail.Send
If Err <> 0 Then
Response.Write "Error encountered: " & Err.Description
End If
End If
%>
If you are interested in any or the above seminars or have any questions please complete the below form or Call Mrs. Maxwell 314-878-7700 or 1-800-878-7717. | |||||||||||