FP2000: How to Set up Forms for E-mail on IIS

ID: Q196489


The information in this article applies to:
  • Microsoft FrontPage 2000


SUMMARY

Microsoft FrontPage 2000 supports sending form results in e-mail. To accomplish this on Internet Information Server (IIS), you must configure your form to send results to e-mail and the FrontPage Server Extensions to deliver the e-mail to an e-mail transport. This article describes how to set up FrontPage 2000 forms for e-mail on IIS.


MORE INFORMATION

Defining Your Form

  1. In Microsoft FrontPage, open the page, right-click the form (inside the dash border), and then click Form Properties on the menu that appears.


  2. In the E-mail Address box, type your e-mail address.


  3. Click OK.


  4. Save the form by clicking Save on the File menu.


Setting up Your E-mail Transport

To send form results to an e-mail host, the FrontPage Server Extensions require a Simple Mail Transfer Protocol (SMTP) server. The FrontPage 2000 Server Extensions do not support any other form of e-mail server software.

To send e-mail from IIS, configure the FrontPage Server Extensions in the FrontPage Management Console on the Windows NT Server that is running IIS to deliver the mail to an e-mail transport. To do this, follow these steps:
  1. In Windows Explorer, open the Microsoft Management Console.

    This file is located at:

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\40\bin\fpmmc.msc


  2. In the Microsoft Management Console, expand the FrontPage Server Extensions tree by clicking the plus sign.


  3. Right-click the folder with your machine name and then click properties.


  4. On the Server Extensions tab click the Settings button in the Options section.


  5. Enter the parameter you want to configure your email transport.


  6. Click OK twice.


  7. Exit the Microsoft Management Console by clicking the Exit on the Console menu.


Possible Error Messages

If the SMTP host is present when the form is created, but the SMTP host is later removed (and the form has not changed since then), you receive the following error on a default page returned by the form when the form is submitted:
FrontPage Error.

User: Please report details to this site's webmaster. Webmaster: Please see the server's application event log for more details.

If SMTPHost is not present when the form is created, you receive the following error message from FrontPage:
The FrontPage Server Extensions have not been configured to send e-mail. Please direct your system administrator or Internet Service Provider to the instructions in 'Setting Up Your E-mail Options on Windows' or 'Setting up Email options on UNIX' in the Server Extensions Resource Kit. If you do not have the Server Extensions Resource Kit, you can find it at http://www.microsoft.com/frontpage/wpp/serk.

Would you like to remove the e-mail recipient? (Yes or No)

NOTE: This error message is received if e-mail is not configured when the form is created.

If you choose not to remove the e-mail recipient and the extensions are not configured correctly, then when the form is filled out and submitted, the form is refreshed, but a background image (if previously present) does not appear, and the Address line in your browser is changed from this
http://WebServerURL/YourSubWeb/formtoemail2.htm

to this:
http://WebServerURL/YourSubWeb /_vti_bin/shtml.exe/formtoemail2.htm.

or, if hosted on NT Server, it changes to this:
http://WebServerURL/YourSubWeb /_vti_bin/shtml.dll/formtoemail2.htm.

This error occurs anytime that you have a configuration issue with any of the dynamic run-time components in FrontPage.

If the form is configured to save results to a file, or to send e-mail simultaneously, and the FrontPage Server Extensions are not configured to handle e-mail, a 0-byte file is created. It does not contain any data, you do not see an error message, and the mail is not sent.


REFERENCES

For more information about configuring FrontPage Server Extensions for UNIX, please see the Server Extensions Resource Kit (SERK) at:

http://www.microsoft.com/frontpage/wpp/serk

Additional query words: 2000 fp2k E-mail mail form

Keywords :
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbhowto


Last Reviewed: November 25, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.