Form Questions

  • Thread starter Thread starter Brian F.
  • Start date Start date
B

Brian F.

Hello,

I have a two part question regarding forms and FrontPage 2002. I have
created a form using the Form Page wizard and I want the results to be
emailed to the address that I specify. I know the I can install FP
extensions but my company does not want to because of security issues. So
here are my questions:

1.) How can I get the results emailed to me without using FP extensions?
2.) How can I get the form to only email me the answers that the user
checked off? (I have about 70 different choices and I do not want the
entire list of choices).

Thank you,
Brian F.
 
The answer to both questions is, you would have to write your own form
handler using ASP or some other server-side technology.

Your company is way behind the times if they think that FrontPage server
extensions present any kind of security risk. Maybe they should hire a new
network Admin. ;-)

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Big Things are made up of
Lots of Little Things.
 
: Hello,
:
: I have a two part question regarding forms and
: FrontPage 2002. I have created a form using the Form
: Page wizard and I want the results to be emailed to the
: address that I specify. I know the I can install FP
: extensions but my company does not want to because of
: security issues. So here are my questions:
:
: 1.) How can I get the results emailed to me without using
: FP extensions?
: 2.) How can I get the form to only email me the answers
: that the user checked off? (I have about 70 different
: choices and I do not want the entire list of choices).
:
: Thank you,
: Brian F.

CDONTS is how I am doing it. You could probably use some
string creation/manipulation to send you exactly what you
want. Following is an example that I am using on an ASP
page, where mailbody contains text and variables.

on error resume next
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.From= "Friendly name<[email protected]>"
Mailer.To = "(e-mail address removed)"
' Mailer.CC = "(e-mail address removed)"
' Mailer.BCC= "(e-mail address removed)"
Mailer.Subject = "Subject Line"

mailbody = "User: "& strUserName &" logged in at "&
AttemptTime &"."

Mailer.Body = mailBody
Mailer.Send
If err.num <> 0 Then
Response.Write "CDONTS Error: " & err.num & " - " &
err.description
End If
 
Back
Top