• Do you run a message board using the discussion Web feature of FrontPage and you've always wanted to receive an eMail when someone posts to it?

  • This tutorial will show you how to make this happen.

  • Receiving eMail from a FrontPage Discussion Web

Receiving eMail from a FrontPage Discussion Web 


Receiving eMail from a FrontPage Discussion Web

Notice about this tutorial:
1) It presumes you already have a Discussion Web built.
2) That you can find your way around in HTML.
3) All screen shots are from Microsoft's FrontPage 2002.
4) This works on servers using the FrontPage 2002 or FrontPage 2000 extensions, and should also work with FrontPage 98.


1) Open a new page, and insert a Textbox form.

Click here for full size viewing.
Click image for full size viewing.


2) Go to your discussion web and open disc#_post.htm file. Depending on the options you choose when setting this up, you may be able to choose a subject and a reply to email address. If you did, right click in these fields and choose "Form Field Properties..." then write down what is in the "Name" field.

   For the sake of this tutorial we'll presume that the subject field has the name "subject" and that the users email address field has the name "email".


3) Go back to the new page that has the Textbox you made and right click on it and choose "Form Properties...", then click the FrontPage's Form Properties Option Tab tab (on bottom left). This will open the "Saving Results" box. Click the E-mail Results tab at the top. Then add your eMail address to the "E-Mail address to receive results:" field. Choose what format you want your eMail sent in, make sure the "Include field names check box is checked."

   Then if you wish to add the form field names from step 2, to their appropriate fields here. (To just receive an email, when someone posts to your Discussion Web, you do not have to do this part).

  Click "OK" until all pop up boxes are closed.

Click here for full size viewing.
Click image for full size viewing.


4) Now click the FrontPage HTML Icon view in FrontPage, and look for coding similar to this:

<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" S-Email-Format="TEXT/PRE" S-Email-Address="YourEmailAddressHere@somewhere.com" B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="email" B-Email-Subject-From-Field="TRUE" S-Email-Subject="subject" S-Builtin-Fields --><p>
<input type="text" name="T1" size="20"><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
</form>

   The only part you are going to need is found in the green. So highlight this part:

S-Email-Format="TEXT/PRE" S-Email-Address="YourEmailAddressHere@somewhere.com" B-Email-Label-Fields="TRUE" B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="email" B-Email-Subject-From-Field="TRUE" S-Email-Subject="subject"

   And copy it for the next step.

----OR----

   You can copy what is in one of the two text boxes here. (Note that this is set to receive eMail in text format).

  • Use this one to receive just eMail, without the subject line or reply to feature:

  • Use this one to receive eMail with the subject line or reply to feature:

  Note in both of these, remember to change "YourEmailAddressHere@somewhere.com", to yours. In the later, change the "email" and "subject" form names to the ones you wrote down in step 2.


5) Now go back to disc#_post.htm and click the FrontPage HTML Icon view in FrontPage, and look for coding similar to this:

<form method="POST" action="--WEBBOT-SELF--" target="_self" onsubmit="return FrontPage_Form1_Validator(this)" name="FrontPage_Form1">
<!--webbot bot="Discussion" s-dir-name="_disc1" s-article-format="HTML/BR" u-style-url="disc1_post.htm" b-reverse-chronology="TRUE" s-toc-fields="Subject From Date Time REMOTE_NAME" u-header-url="_borders/disc1_ahdr.htm" u-footer-url="_borders/disc1_aftr.htm" s-date-format="%d %b %Y" s-time-format="%H:%M:%S" s-builtin-fields="REMOTE_NAME Date Time" u-confirmation-url="disc1_cfrm.htm" startspan --><input TYPE="hidden" NAME="VTI-GROUP" VALUE="0">
<!--webbot bot="Discussion" endspan i-checksum="43374" -->

   Look for b-reverse-chronology="TRUE" (it may say "FALSE" depending on what option you set for the order of the the posts to show up). Paste the part from step 4 after  b-reverse-chronology="TRUE"  (Note: if you used what was in the text boxes in step 4, and haven't changed it to match your info, you wont receive eMail).


6)    Save page, and test.

 

Copyright© 1997-2010 ProWebSites.net™ All rights reserved.

This page last edited on:
Friday, January 02, 2009 11:18:52
(-5GMT/UT)