Frontpage Form properties configuration.

Posted on 2004-11-28
Last Modified: 2013-12-24
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.
Question by:billschroeder
    LVL 33

    Expert Comment

    Right click and select form properties. There is a field to select send information via email. Click that
    LVL 33

    Expert Comment

    Your host must support FrontPage Server Extensions for this to work.
    LVL 33

    Expert Comment

    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.
    LVL 14

    Expert Comment

    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.


    Author Comment

    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?
    LVL 33

    Accepted Solution

    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
    LVL 14

    Assisted Solution


    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

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
    Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
    The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
    The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: : Go t…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now