Multiple Email Tutorial for Frontpage
You can indeed send results from FrontPage forms to multiple email addresses. It is a little confusing at first, but once you get the hang of it you will be able to do it in your sleep. Just follow the instructions and this will work. Basically, you are setting up a chain of forms with each submitting to a new email account on a single "Submit" from the initial form.
Although these instructions are for FP2000, they will apply to 98 | 2000 | 2003. This tutorial depends on your ability to build a working form which already submits in email. If you are not well versed in FrontPage forms, go back to the
Form Wizard or
Custom Form tutorials before starting this tutorial.
Before setting up this form chain. Make sure that the Microsoft FrontPage Server Extensions have been enabled at your website. If you are publishing to your own server, be sure you are set up to send and receive form mail. In the case of a commercial host, although the host may provide the FPSE, they frequently need to be turned on by either your self or your provider. Occasionally they may need to be reset as well. Remember you are publishing forms. This means publish with FP to an http: location, not with FTP.
Create Frontpage Form One
- I recommend starting with a new page. So open up a new page to get started.
- To keep things simple, we are going to refer to our first form page as "Feedback".
- With the new page open, save this page as "Feedback1".
- Copy or build a new form on this page. Nothing fancy, just a working form. This is only for practice.
- OK, Now you have a page labeled Feedback1.
- If you intend to use this form in your site, save your completed version along with your standard page content. Set this form up to go to your primary form address.
- Set up your form at Feedback1.htm to send to a single address or to a single address and an optional second file if you wish. This is the form your site visitors will fill out.
- If you are not sending to an optional second file, I recommend using the default _private/form_results.txt in the file area.
- If you wish your form to be validated, set this up now as well. It should only be necessary to do validation on Feedback1.htm.
- I would set "No constraints" for all fields in Feedback2.htm.
- When your form is satisfactory to you, read on.
Create Form 2
- Create a second new page.
- Save this new page as Feedback2.
- The user will not see this page.
- On this new page, copy and paste only the form and form fields from Feedback1.htm to Feedback2.htm (nothing else, no text no graphics, no nothing!).
- Double check to make sure your form is still surrounded by the dashed form line, not just the fields.
- While on page "Feedback2.htm" go to "Form properties". Set the form for the new page to go to a different email address than in Feedback1.htm. I use an address to back up my form mail to a different location.
- I recommend using the default _private/form_results.txt in the file area for this page. Do not attempt to send to an optional second file from Feedback2.htm. This could warp things.
Create A Web Page
- Create a third new page.
- Save this page as "Confirm.htm".
- Place what ever content you want on this page to signify user confirmation. This will be a normally visible page on your site.
Backtrack to the Form One
- Open "Form properties".
- Check to see that your email is going to your primary address.
- Check your second file results location if you have one.
- Go to the Confirmation tab and type in or browse to Feedback2.htm. This is the confirmation page for the user form.
- Double check all options to see that you have them set up properly.
Now Backtrack to Form Two
- Open "Form properties".
- Check to see that your email is going to your secondary address.
- Go to the Confirmation tab and type in or browse to Confirm.htm. This is the confirmation page for the users submission. (thanks for your order/ whatever).
- Double check all options to see that you have them set up properly.
- Make sure that Feedback2.htm has no page content other than the form itself. The user will not view this page so don't worry about background or style issues.
Please Note: As you are looking through and checking your "Form properties" you will notice that the magic behind the curtain, has given our forms the "Form Name:" FrontPage_Form1.
Michael strongly recommends leaving this alone. If you need to have a handle for your form, do this under the "E-mail Results" tab in the "Subject line". This way you can know which form you are getting in email.
Now save these pages and publish to your site. Before linking to the new pages, make sure you are receiving the results properly. To check if things are set up right, type in http://www.yoursite.com/Feedback1.htm (remember to use upper or lower case, and htm or html, depending on what you used).
If your FrontPage extensions are properly configured, your results should now go to:
- Your primary email account.
- Your optional file if you chose one.
- Your secondary email account.
- On submit, you should be taken to Confirm.htm.
If you are having problems and are sure your site has sent mail in the past, go back through the tutorial steps to make sure you didn't alter something. The first time
Michael did this, he had to go back a couple of times to set the fields up properly.
If things are working well, the you have now successfully set up the form chain to allow a FrontPage form to send to multiple email addresses. I have not tried to add to this, yet, but I imagine if you follow the process further with Feedback3, Feedback4, etc. you can add more addresses to your chain. Remember the last link in the chain will have to point to Confirm.htm. Of course you can use another page name. This one is for instruction purposes.




Comments