Frontpage Form properties configuration.

Posted on 2004-11-28
Medium Priority
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
  • 4
  • 2
LVL 33

Expert Comment

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

Expert Comment

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

Expert Comment

ID: 12693269
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.
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

LVL 14

Expert Comment

ID: 12693779
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

ID: 12699980
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

sajuks earned 1000 total points
ID: 12702640
Check this link

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

hhammash earned 1000 total points
ID: 12702653

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
Suggested Courses

862 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