%
' Is this page just being viewed, or did someone view the page and submit the form?
strMsg = ""
If Request.Form.Count > 1 Then
' The form was submitted ... Process it.
Dim MsgStart(7)
MsgStart(0) = String(40,"*") & Chr(13) & Chr(10) & "A visitor to the CFA web site prayer page sent the following request to you." & Chr(13) & Chr(10)
MsgStart(1) = "Do NOT press REPLY to respond to this person. You must use the address on the E-MAIL line below as your TO address." & Chr(13) & Chr(10)
MsgStart(2) = "If you do press REPLY, your message will be sent to the CFA webmaster!" & Chr(13) & Chr(10)
MsgStart(3) = " FROM: " & Request.Form("name_field") & Chr(13) & Chr(10)
MsgStart(4) = " E-MAIL: " & Request.Form("email") & Chr(13) & Chr(10)
MsgStart(5) = "SUBJECT: " & Request.Form("subject") & Chr(13) & Chr(10)
MsgStart(6) = String(40,"*") & Chr(13) & Chr(10)
MsgText = Join(MsgStart,"") & Request.Form("request_text")
' Create the Mailer Object
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
' Fill-in the Mailer Object
Mailer.FromName = "CFA Web Prayer Page"
Mailer.FromAddress = "webmaster@first-ag.org"
Mailer.RemoteHost = "mail.radiant.net"
Mailer.AddRecipient "Prayer Team", "prayer@first-ag.org"
Mailer.Subject = "Message from CFA web Prayer visitor"
Mailer.BodyText = MsgText
' SEND THE MESSAGE
If Mailer.SendMail Then
bSent = True
strMsg = strMsg & " Your prayer request has been sent!"
Else
bSent = False
strMsg = strMsg & " Your request could not be sent.
The reason was: " & Mailer.Response
End If
End If
%>
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| <% =strMsg %> | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Prayer Request Cards: The drop box is located next to the front doors in the lobby. Only Pastor Pete and his assistant have access to this box. ** |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| If you would like someone to pray with right now, call the National Prayer Center at: 1-800-4PRAYER (1-800-477-2937) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Send a request to the Prayer Team Below |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cross photo by: brainloc a.k.a Bob Smith |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||