Frontpage Form properties configuration.

Can you get FrontPage form properties to send a results email to the person who filled out  the form? I know you can get scripts to do it, I wanted to know if Frontpage can be configured to do it.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Right click and select form properties. There is a field to select send information via email. Click that
Your host must support FrontPage Server Extensions for this to work.
If you dont know the email address (tahts is its not static) then you cant use FP by itself.
You need CDONTS/CDO , jmail or some other mail tools.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Hi bill,

In FrontPage you can't do that.  It is because you can send form results to 1 email only,  either yours or any other fixed one.  You can't send an email to the person who filled the form.

To do that you need:

- PHP if your webserver supports PHP
- ASP CDONTS if your server supports CDONTS

Let me know what does your server support and give me your form fields, then I can post a script that will work for you.

What sajuks said is 100% right.

billschroederAuthor Commented:
Thanks.  My server supports fp ext and asp.  I don't know anything about ASP CDONTS.  My forms are all different but they will all have an input "email" for the user.  Could you give me a sample script for a simple form with just a few feilds?
Check this link;EN-US;186204

Simple ex:
If request("Button")="Send Mail" then
Set objMail = Server.CreateObject("CDONTS.NewMail")
For each sRequest in Request.Form
      response.write sRequest
      Select Case sRequest
      Case "From"
      Case else
            sBody=sBody & sRequest & " - " & request(sRequest) & chr(13)
      End select
response.write sBody
objMail.Subject="Results from a form"
set objMail = nothing
response.write "Mail Sent"
      <form action="FormMail.asp" method="POST" name="CDOMail">
      Name: <input type="text" size="20" name="Name"><br>
      Address:<input type="text" size="20" name="Address"><br>
      City: <input type="text" size="20" name="City"><br>
      State: <input type="text" size="20" name="State"><br>
      Zip: <input type="text" size="20" name="Zip"><br>
        Phone: <input type="text" size="20" name="Phone"><br>
        Email: <input type="text" size="20" name="From"><br>
        <input type="submit" name="Button" value="Send Mail">
End if

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

We'll try if your server supports CDONTS.

1- Open Frontpage
2- Open your Website LIVE (not on your local machine)
3- Create a new page and calle it: TrySendMail.asp,  then save it
4- Switch to HTML view and delete everything you see in HTML view
5- Copy the code below as it is and paste it to a NotePad document
6- Copy from NotePad and paste in your new page HTML view
7- Save the page
8- Run the page LIVE on your Website
9- Put your email address in From
10- Put your email address in To
11- Fill a message and send

If your server supports CDONTS,  you will receive an email to your email,  which you sent to yourself.

If you get no error and you get no email it means that your server is part of an Intranet.  It means that your server needs authentication in the main mail server.

If you get an error,  then your server does not support CDONTS.  Here you better check with your Server Admin to see which system does your server support.

Here is the code:


<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Testing Email</title>

<form method="POST" action="SendEmailCDONTS.asp">
  <p>From: <input type="text" name="MailFrom" size="20"> (here your email
  <p>To: <input type="text" name="MailTo" size="20"> (here the recipient's email
  <p><textarea rows="5" name="MailBody" cols="35"></textarea></p>
  <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>

    Dim MyCDONTSMail2
    Dim HTML
    Set MyCDONTSMail2 = CreateObject("CDONTS.NewMail")
    HTML = HTML & "<html>"
    HTML = HTML & "<head>"
    HTML = HTML & "<title>Sending CDONTS Email Using HTML</title>"
    HTML = HTML & "</head>"
    HTML = HTML & "<body bgcolor=""FFFFFF"">"
    HTML = HTML & "<p><font size =""3"" face=""Arial""><strong>"
    HTML = HTML & "Name Of Store</strong><br>"
    HTML = HTML & "Incoming Customer Order</strong></p>"
    HTML = HTML & "<p align = ""center"">"
    HTML = HTML & Mbody
    HTML = HTML & "</p>"
    HTML = HTML & "</body>"
    HTML = HTML & "</html>"
    MyCDONTSMail2.From= MFrom
    MyCDONTSMail2.To= MTo
    MyCDONTSMail2.Subject="Testing CDONTS"
    set MyCDONTSMail2=nothing



Hope it works for you
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development Software

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.